[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] checking MNTRA/compiler_project/6bd7adf91e1532d3ebac49efef132b4d456cc757 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMNTRA%2Fcompiler_project" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MNTRA/compiler_project on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/lexer/Cargo.toml: unused manifest key: tests [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df1a9d91c8718f04b73e7f0d960fdff1ee5f26271eb18b473851313f31106954 [INFO] running `Command { std: "docker" "start" "-a" "df1a9d91c8718f04b73e7f0d960fdff1ee5f26271eb18b473851313f31106954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df1a9d91c8718f04b73e7f0d960fdff1ee5f26271eb18b473851313f31106954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1a9d91c8718f04b73e7f0d960fdff1ee5f26271eb18b473851313f31106954", kill_on_drop: false }` [INFO] [stdout] df1a9d91c8718f04b73e7f0d960fdff1ee5f26271eb18b473851313f31106954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a1d001a18b13609a15cdbaa4e5e07d10f71c87efffdf892ec308c7138be097e [INFO] running `Command { std: "docker" "start" "-a" "0a1d001a18b13609a15cdbaa4e5e07d10f71c87efffdf892ec308c7138be097e", 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 syn v1.0.60 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking lexer_macros v0.1.0 (/opt/rustwide/workdir/lexer/macros) [INFO] [stderr] Checking parser_macros v0.1.0 (/opt/rustwide/workdir/parser/macros) [INFO] [stderr] Compiling thiserror-impl v1.0.24 [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] | ^^^^^^^^^^^^^^^^^^^^^ not a type [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] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(core::ascii::Char), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(crate::PunctuationType), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(std::ascii::Char), $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] 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] | ^^^^^^^^^^^^^^^^^^^^^ not a type [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] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(core::ascii::Char), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(crate::PunctuationType), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(std::ascii::Char), $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] 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] | ^^^^^^^^^^^^^^^^^^^^^ not a type [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] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(core::ascii::Char), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(crate::PunctuationType), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(std::ascii::Char), $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] 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] | ^^^^^^^^^^^^^^^^^^^^^ not a type [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] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(core::ascii::Char), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(crate::PunctuationType), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(std::ascii::Char), $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] 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 this trait instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::hash::Hash; [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] | ^^^^^^^^^^^^^^^^^^^^^ not a type [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] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(core::ascii::Char), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(crate::PunctuationType), $TOK); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 271 | define_tokenizer_fn!(RawTokenType::Punctuation(std::ascii::Char), $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] 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(core::ascii::Char), $TOK); [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] 274 | define_tokenizer_fn!(RawTokenType::Control(std::ascii::Char), $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] 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` (lib) due to 66 previous errors [INFO] running `Command { std: "docker" "inspect" "0a1d001a18b13609a15cdbaa4e5e07d10f71c87efffdf892ec308c7138be097e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1d001a18b13609a15cdbaa4e5e07d10f71c87efffdf892ec308c7138be097e", kill_on_drop: false }` [INFO] [stdout] 0a1d001a18b13609a15cdbaa4e5e07d10f71c87efffdf892ec308c7138be097e