[INFO] cloning repository https://github.com/MNTRA/compiler_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MNTRA/compiler_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMNTRA%2Fcompiler_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMNTRA%2Fcompiler_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bd7adf91e1532d3ebac49efef132b4d456cc757 [INFO] documenting MNTRA/compiler_project against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMNTRA%2Fcompiler_project" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MNTRA/compiler_project on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MNTRA/compiler_project [INFO] finished tweaking git repo https://github.com/MNTRA/compiler_project [INFO] tweaked toml for git repo https://github.com/MNTRA/compiler_project written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/MNTRA/compiler_project already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4/source/lexer/Cargo.toml: unused manifest key: tests [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91ab87f6dd70f3680c6bc23050aa75483efe36f00912af888a9bda24b991ef8a [INFO] running `Command { std: "docker" "start" "-a" "91ab87f6dd70f3680c6bc23050aa75483efe36f00912af888a9bda24b991ef8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91ab87f6dd70f3680c6bc23050aa75483efe36f00912af888a9bda24b991ef8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ab87f6dd70f3680c6bc23050aa75483efe36f00912af888a9bda24b991ef8a", kill_on_drop: false }` [INFO] [stdout] 91ab87f6dd70f3680c6bc23050aa75483efe36f00912af888a9bda24b991ef8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa911678e3cba9eb89bc8b594e475f4cf50395fad9c173b39e86702f271fdd43 [INFO] running `Command { std: "docker" "start" "-a" "aa911678e3cba9eb89bc8b594e475f4cf50395fad9c173b39e86702f271fdd43", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/lexer/Cargo.toml: unused manifest key: tests [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling lexer_macros v0.1.0 (/opt/rustwide/workdir/lexer/macros) [INFO] [stderr] Compiling parser_macros v0.1.0 (/opt/rustwide/workdir/parser/macros) [INFO] [stdout] warning: struct is never constructed: `ParserInput` [INFO] [stdout] --> parser/macros/src/create_parser.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct ParserInput { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking collections v0.1.0 (/opt/rustwide/workdir/collections) [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Plus` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 327 | gen_tokenizer_fn!(Punctuation, Plus); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 327 | gen_tokenizer_fn!(Punctuation, Plus); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Hyphen` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 328 | gen_tokenizer_fn!(Punctuation, Hyphen); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 328 | gen_tokenizer_fn!(Punctuation, Hyphen); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::UnderScore` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 329 | gen_tokenizer_fn!(Punctuation, UnderScore); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 329 | gen_tokenizer_fn!(Punctuation, UnderScore); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Asterisk` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 330 | gen_tokenizer_fn!(Punctuation, Asterisk); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 330 | gen_tokenizer_fn!(Punctuation, Asterisk); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Slash` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 331 | gen_tokenizer_fn!(Punctuation, Slash); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 331 | gen_tokenizer_fn!(Punctuation, Slash); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::BackSlash` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 332 | gen_tokenizer_fn!(Punctuation, BackSlash); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 332 | gen_tokenizer_fn!(Punctuation, BackSlash); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::RParen` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 333 | gen_tokenizer_fn!(Punctuation, RParen); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 333 | gen_tokenizer_fn!(Punctuation, RParen); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::LParen` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 334 | gen_tokenizer_fn!(Punctuation, LParen); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 334 | gen_tokenizer_fn!(Punctuation, LParen); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::RAngleBracket` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 335 | gen_tokenizer_fn!(Punctuation, RAngleBracket); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 335 | gen_tokenizer_fn!(Punctuation, RAngleBracket); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::LAngleBracket` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 336 | gen_tokenizer_fn!(Punctuation, LAngleBracket); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 336 | gen_tokenizer_fn!(Punctuation, LAngleBracket); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::RBrace` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 337 | gen_tokenizer_fn!(Punctuation, RBrace); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 337 | gen_tokenizer_fn!(Punctuation, RBrace); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::LBrace` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 338 | gen_tokenizer_fn!(Punctuation, LBrace); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 338 | gen_tokenizer_fn!(Punctuation, LBrace); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::RBracket` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 339 | gen_tokenizer_fn!(Punctuation, RBracket); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 339 | gen_tokenizer_fn!(Punctuation, RBracket); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::LBracket` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 340 | gen_tokenizer_fn!(Punctuation, LBracket); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 340 | gen_tokenizer_fn!(Punctuation, LBracket); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Equals` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 341 | gen_tokenizer_fn!(Punctuation, Equals); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 341 | gen_tokenizer_fn!(Punctuation, Equals); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Pipe` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 342 | gen_tokenizer_fn!(Punctuation, Pipe); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 342 | gen_tokenizer_fn!(Punctuation, Pipe); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::QuestionMark` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 343 | gen_tokenizer_fn!(Punctuation, QuestionMark); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 343 | gen_tokenizer_fn!(Punctuation, QuestionMark); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Exclamation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 344 | gen_tokenizer_fn!(Punctuation, Exclamation); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 344 | gen_tokenizer_fn!(Punctuation, Exclamation); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Ampersand` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 345 | gen_tokenizer_fn!(Punctuation, Ampersand); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 345 | gen_tokenizer_fn!(Punctuation, Ampersand); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Period` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 346 | gen_tokenizer_fn!(Punctuation, Period); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 346 | gen_tokenizer_fn!(Punctuation, Period); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Colon` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 347 | gen_tokenizer_fn!(Punctuation, Colon); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 347 | gen_tokenizer_fn!(Punctuation, Colon); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::SemiColon` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 348 | gen_tokenizer_fn!(Punctuation, SemiColon); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 348 | gen_tokenizer_fn!(Punctuation, SemiColon); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Quote` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 349 | gen_tokenizer_fn!(Punctuation, Quote); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 349 | gen_tokenizer_fn!(Punctuation, Quote); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::SingleQuote` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 350 | gen_tokenizer_fn!(Punctuation, SingleQuote); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 350 | gen_tokenizer_fn!(Punctuation, SingleQuote); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Percent` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 351 | gen_tokenizer_fn!(Punctuation, Percent); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 351 | gen_tokenizer_fn!(Punctuation, Percent); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Hash` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not a type [INFO] [stdout] ... [INFO] [stdout] 352 | gen_tokenizer_fn!(Punctuation, Hash); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] help: if you import `Hash`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 271 - define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] 271 + define_tokenizer_fn!(RawTokenType::Punctuation(::$TOK), $TOK); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 352 | gen_tokenizer_fn!(Punctuation, Hash); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::At` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 353 | gen_tokenizer_fn!(Punctuation, At); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 353 | gen_tokenizer_fn!(Punctuation, At); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Dollar` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 354 | gen_tokenizer_fn!(Punctuation, Dollar); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 354 | gen_tokenizer_fn!(Punctuation, Dollar); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::Tilde` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 355 | gen_tokenizer_fn!(Punctuation, Tilde); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 355 | gen_tokenizer_fn!(Punctuation, Tilde); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `PunctuationType::BackQuote` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:56 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::PunctuationType` [INFO] [stdout] ... [INFO] [stdout] 356 | gen_tokenizer_fn!(Punctuation, BackQuote); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Punctuation` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(PunctuationType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Punctuation(_)` [INFO] [stdout] ... [INFO] [stdout] 356 | gen_tokenizer_fn!(Punctuation, BackQuote); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Punctuation(PunctuationType), [INFO] [stdout] | ---------------------------- `RawTokenType::Punctuation` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `ControlType::NewLine` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:274:52 [INFO] [stdout] | [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(ControlType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not a type [INFO] [stdout] | help: try using the variant's enum: `crate::ControlType` [INFO] [stdout] ... [INFO] [stdout] 359 | gen_tokenizer_fn!(Control, NewLine); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Control` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(ControlType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Control(_)` [INFO] [stdout] ... [INFO] [stdout] 359 | gen_tokenizer_fn!(Control, NewLine); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Control(ControlType), [INFO] [stdout] | -------------------- `RawTokenType::Control` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `ControlType::Tab` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:274:52 [INFO] [stdout] | [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(ControlType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a type [INFO] [stdout] ... [INFO] [stdout] 360 | gen_tokenizer_fn!(Control, Tab); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(console::Key), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(crate::ControlType), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Control` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(ControlType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Control(_)` [INFO] [stdout] ... [INFO] [stdout] 360 | gen_tokenizer_fn!(Control, Tab); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Control(ControlType), [INFO] [stdout] | -------------------- `RawTokenType::Control` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `ControlType::Null` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:274:52 [INFO] [stdout] | [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(ControlType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a type [INFO] [stdout] ... [INFO] [stdout] 361 | gen_tokenizer_fn!(Control, Null); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(crate::ControlType), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(crate::SyntaxTokenType), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected unit struct, unit variant or constant, found tuple variant `RawTokenType::Control` [INFO] [stdout] --> lexer/src/syntax_token_stream.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 274 | define_tokenizer_fn!(RawTokenType::Control(ControlType::$TOK), $TOK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `RawTokenType::Control(_)` [INFO] [stdout] ... [INFO] [stdout] 361 | gen_tokenizer_fn!(Control, Null); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: lexer/src/token.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Control(ControlType), [INFO] [stdout] | -------------------- `RawTokenType::Control` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_tokenizer_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeywordType` [INFO] [stdout] --> lexer/src/console_printer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | KeywordType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 66 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0532, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0532`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexer` due to 67 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "aa911678e3cba9eb89bc8b594e475f4cf50395fad9c173b39e86702f271fdd43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa911678e3cba9eb89bc8b594e475f4cf50395fad9c173b39e86702f271fdd43", kill_on_drop: false }` [INFO] [stdout] aa911678e3cba9eb89bc8b594e475f4cf50395fad9c173b39e86702f271fdd43