[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#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMNTRA%2Fcompiler_project" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MNTRA/compiler_project on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-2-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/lexer/Cargo.toml: unused manifest key: tests [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded paste v1.0.4 [INFO] [stderr] Downloaded ctor v0.1.19 [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded console v0.14.0 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] [stderr] Downloaded libc v0.2.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de0f598fc3a7b971aea729589814e4e37411ada3c08a7511da5ab3227f221808 [INFO] running `Command { std: "docker" "start" "-a" "de0f598fc3a7b971aea729589814e4e37411ada3c08a7511da5ab3227f221808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de0f598fc3a7b971aea729589814e4e37411ada3c08a7511da5ab3227f221808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0f598fc3a7b971aea729589814e4e37411ada3c08a7511da5ab3227f221808", kill_on_drop: false }` [INFO] [stdout] de0f598fc3a7b971aea729589814e4e37411ada3c08a7511da5ab3227f221808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18d5ccb00859703381aedb396cec1228ab4d369fa65dbfa9c276ad863bca0138 [INFO] running `Command { std: "docker" "start" "-a" "18d5ccb00859703381aedb396cec1228ab4d369fa65dbfa9c276ad863bca0138", 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 libc v0.2.86 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking parser_macros v0.1.0 (/opt/rustwide/workdir/parser/macros) [INFO] [stderr] Checking lexer_macros v0.1.0 (/opt/rustwide/workdir/lexer/macros) [INFO] [stdout] warning: struct `ParserInput` is never constructed [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: struct `ParserInput` is never constructed [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stdout] warning: struct `ParserInput` is never constructed [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] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> collections/src/stream/peekable.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> collections/src/stream/peekable.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | let (mut stream, s) = setup("Peek0 Test String"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> collections/src/stream/peekable.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | let (mut stream, s) = setup("Peek0 Test String"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> collections/src/stream/peekable.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | let (mut stream, s) = setup("Peek0 Test String"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> collections/src/stream/peekable.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | let (mut stream, s) = setup("Peek0 Test String"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> collections/src/stream/peekable.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | stream.consume(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = stream.consume(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> collections/src/stream/peekable.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | stream.consume(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 149 | let _ = stream.consume(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> collections/src/stream/peekable.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | stream.consume(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = stream.consume(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> collections/src/stream/peekable.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | stream.consume(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 151 | let _ = stream.consume(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> collections/src/stream/peekable.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | stream.peek(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = stream.peek(0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> collections/src/stream/peekable.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | stream.peek(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 159 | let _ = stream.peek(0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> collections/src/stream/peekable.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | stream.peek(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 160 | let _ = stream.peek(0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] 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` (lib) due to 67 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "18d5ccb00859703381aedb396cec1228ab4d369fa65dbfa9c276ad863bca0138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18d5ccb00859703381aedb396cec1228ab4d369fa65dbfa9c276ad863bca0138", kill_on_drop: false }` [INFO] [stdout] 18d5ccb00859703381aedb396cec1228ab4d369fa65dbfa9c276ad863bca0138