[INFO] fetching crate laps 0.1.7... [INFO] checking laps-0.1.7 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate laps 0.1.7 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate laps 0.1.7 [INFO] removed 4 missing examples [INFO] finished tweaking crates.io crate laps 0.1.7 [INFO] tweaked toml for crates.io crate laps 0.1.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate laps 0.1.7 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate laps 0.1.7 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbf045a4c410e2078405685272079fbff4c786f4242fe03cb8cc99c6e3cf5f4b [INFO] running `Command { std: "docker" "start" "-a" "dbf045a4c410e2078405685272079fbff4c786f4242fe03cb8cc99c6e3cf5f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbf045a4c410e2078405685272079fbff4c786f4242fe03cb8cc99c6e3cf5f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf045a4c410e2078405685272079fbff4c786f4242fe03cb8cc99c6e3cf5f4b", kill_on_drop: false }` [INFO] [stdout] dbf045a4c410e2078405685272079fbff4c786f4242fe03cb8cc99c6e3cf5f4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a7f3c4f479e2d62fcdeb60b1e05a3f21318a9fc3c38fab8471fd952a0a0a17e [INFO] running `Command { std: "docker" "start" "-a" "5a7f3c4f479e2d62fcdeb60b1e05a3f21318a9fc3c38fab8471fd952a0a0a17e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking laps v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | fn lookahead(&mut self) -> Lookahead [INFO] [stdout] | ^^^^^^^^^ ---------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | fn lookahead(&mut self) -> Lookahead<'_, Self, Self::Token> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] error: cannot find derive macro `Tokenize` in this scope [INFO] [stdout] --> examples/sexp/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Tokenize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Tokenize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/sexp/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token_kind` in this scope [INFO] [stdout] --> examples/sexp/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[token_kind] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `skip` in this scope [INFO] [stdout] --> examples/sexp/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | #[skip(r"\s+")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/sexp/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[regex(r"[()]")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/sexp/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[regex(r"[^\s()]+")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `eof` in this scope [INFO] [stdout] --> examples/sexp/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[eof] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `token_ast` in this scope [INFO] [stdout] --> examples/sexp/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | token_ast! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/sexp/main.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/sexp/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/sexp/main.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/sexp/main.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | End(Token![eof]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/sexp/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/sexp/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/sexp/main.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/sexp/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | struct SExp(Token![lpr], Vec, Token![rpr]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/sexp/main.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | struct SExp(Token![lpr], Vec, Token![rpr]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/sexp/main.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/sexp/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/sexp/main.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/sexp/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | Atom(Token![atom]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Tokenize` in this scope [INFO] [stdout] --> examples/clike/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Tokenize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Tokenize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token_kind` in this scope [INFO] [stdout] --> examples/clike/main.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[token_kind] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `skip` in this scope [INFO] [stdout] --> examples/clike/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[skip(r"\s+")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/clike/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[regex(r"int|void|if|else|while|break|continue|return")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/clike/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[regex(r"[_a-zA-Z][_a-zA-Z0-9]*")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/clike/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[regex(r"[0-9]|[1-9][0-9]+|0x[0-9a-fA-F]+", int_literal)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/clike/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | #[regex(r"\+|-|\*|/|%|<|>|<=|>=|==|!=|&&|\|\||!|=")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/clike/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[regex(r".")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `eof` in this scope [INFO] [stdout] --> examples/clike/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | #[eof] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `token_ast` in this scope [INFO] [stdout] --> examples/clike/main.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | token_ast! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:202:7 [INFO] [stdout] | [INFO] [stdout] 202 | End(Token![eof]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:206:3 [INFO] [stdout] | [INFO] [stdout] 206 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `starts_with` in this scope [INFO] [stdout] --> examples/clike/main.rs:207:3 [INFO] [stdout] | [INFO] [stdout] 207 | #[starts_with(Token![int], Token![ident], Token![lpr])] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | _int: Token![int], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | ident: Token![ident], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | _lpr: Token![lpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | params: SepSeq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `lexer` found for enum `TokenKind` in the current scope [INFO] [stdout] --> examples/sexp/main.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 9 | enum TokenKind { [INFO] [stdout] | -------------- variant or associated item `lexer` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 75 | let lexer = TokenKind::lexer(reader); [INFO] [stdout] | ^^^^^ variant or associated item not found in `TokenKind` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lexer`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `laps::lexer::Tokenize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | _rpr: Token![rpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 218 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | _int: Token![int], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | ident: Token![ident], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:225:3 [INFO] [stdout] | [INFO] [stdout] 225 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | _int: Token![int], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | var_defs: NonEmptySepSeq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | _semi: Token![;], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `laps` (example "sexp") due to 18 previous errors [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:235:10 [INFO] [stdout] | [INFO] [stdout] 235 | ident: Token![ident], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | _lbc: Token![lbc], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | len: Token![litint], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | _rbc: Token![rbc], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:249:3 [INFO] [stdout] | [INFO] [stdout] 249 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | _assign: Token![=], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:256:3 [INFO] [stdout] | [INFO] [stdout] 256 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:263:3 [INFO] [stdout] | [INFO] [stdout] 263 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | _lbk: Token![lbk], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | exps: SepSeq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | _rbk: Token![rbk], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:270:10 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | _lbk: Token![lbk], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | _rbk: Token![rbk], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:279:3 [INFO] [stdout] | [INFO] [stdout] 279 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 285 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:286:3 [INFO] [stdout] | [INFO] [stdout] 286 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | Empty(Token![;]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | Exp(Box, Token![;]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | Ok(if ::maybe(tokens)? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:313:11 [INFO] [stdout] | [INFO] [stdout] 313 | if ::maybe(tokens)? { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | Ok(::maybe(tokens)? || Exp::maybe(tokens)?) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | _assign: Token![=], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:336:10 [INFO] [stdout] | [INFO] [stdout] 336 | _semi: Token![;], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:340:3 [INFO] [stdout] | [INFO] [stdout] 340 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:342:8 [INFO] [stdout] | [INFO] [stdout] 342 | _if: Token![if], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | _lpr: Token![lpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Tokenize` in this scope [INFO] [stdout] --> examples/calc/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Tokenize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Tokenize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/calc/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{ast::NonEmptySepList, prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | _rpr: Token![rpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token_kind` in this scope [INFO] [stdout] --> examples/calc/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[token_kind] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 350 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:351:3 [INFO] [stdout] | [INFO] [stdout] 351 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `skip` in this scope [INFO] [stdout] --> examples/calc/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | #[skip(r"\s+")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | _else: Token![else], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:357:10 [INFO] [stdout] | [INFO] [stdout] 357 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/calc/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[regex(r"[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/calc/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[regex(r".")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:358:3 [INFO] [stdout] | [INFO] [stdout] 358 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `eof` in this scope [INFO] [stdout] --> examples/calc/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[eof] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:360:11 [INFO] [stdout] | [INFO] [stdout] 360 | _while: Token![while], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `token_ast` in this scope [INFO] [stdout] --> examples/calc/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | token_ast! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/calc/main.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/calc/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{ast::NonEmptySepList, prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | _lpr: Token![lpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | _rpr: Token![rpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/calc/main.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | _eof: Token![eof], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/calc/main.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/calc/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{ast::NonEmptySepList, prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:368:3 [INFO] [stdout] | [INFO] [stdout] 368 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/calc/main.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:370:11 [INFO] [stdout] | [INFO] [stdout] 370 | _break: Token![break], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | Add(Token![+]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | _semi: Token![;], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | Sub(Token![-]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:374:10 [INFO] [stdout] | [INFO] [stdout] 374 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/calc/main.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/calc/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{ast::NonEmptySepList, prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/calc/main.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | Mul(Token![*]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | Div(Token![/]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:377:14 [INFO] [stdout] | [INFO] [stdout] 377 | _continue: Token![continue], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:378:10 [INFO] [stdout] | [INFO] [stdout] 378 | _semi: Token![;], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | Mod(Token![%]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 381 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/calc/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/calc/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use laps::{ast::NonEmptySepList, prelude::*, reader::Reader, span::Result, token::TokenBuffer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/calc/main.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:382:3 [INFO] [stdout] | [INFO] [stdout] 382 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | Num(Token![float]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 384 | _return: Token![return], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | Neg(Token![-], Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:386:10 [INFO] [stdout] | [INFO] [stdout] 386 | _semi: Token![;], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Paren(Token![lpr], Box, Token![rpr]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:389:36 [INFO] [stdout] | [INFO] [stdout] 389 | type Exp = NonEmptySepList; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/calc/main.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | Paren(Token![lpr], Box, Token![rpr]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:391:38 [INFO] [stdout] | [INFO] [stdout] 391 | type AndExp = NonEmptySepList; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:396:3 [INFO] [stdout] | [INFO] [stdout] 396 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:398:6 [INFO] [stdout] | [INFO] [stdout] 398 | Eq(Token![==]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:399:6 [INFO] [stdout] | [INFO] [stdout] 399 | Ne(Token![!=]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:404:10 [INFO] [stdout] | [INFO] [stdout] 404 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:405:3 [INFO] [stdout] | [INFO] [stdout] 405 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:407:6 [INFO] [stdout] | [INFO] [stdout] 407 | Lt(Token![<]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:408:6 [INFO] [stdout] | [INFO] [stdout] 408 | Gt(Token![>]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:409:6 [INFO] [stdout] | [INFO] [stdout] 409 | Le(Token![<=]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:410:6 [INFO] [stdout] | [INFO] [stdout] 410 | Ge(Token![>=]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:415:10 [INFO] [stdout] | [INFO] [stdout] 415 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:416:3 [INFO] [stdout] | [INFO] [stdout] 416 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:418:7 [INFO] [stdout] | [INFO] [stdout] 418 | Add(Token![+]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for reference `&()` in the current scope [INFO] [stdout] --> examples/calc/main.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | Self::Num(num) => Ok(*num.unwrap_ref::<&f64, _>()), [INFO] [stdout] | ^^^^^^^^^^ method not found in `&()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:419:7 [INFO] [stdout] | [INFO] [stdout] 419 | Sub(Token![-]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:424:10 [INFO] [stdout] | [INFO] [stdout] 424 | #[derive(Parse, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:425:3 [INFO] [stdout] | [INFO] [stdout] 425 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:427:7 [INFO] [stdout] | [INFO] [stdout] 427 | Mul(Token![*]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:428:7 [INFO] [stdout] | [INFO] [stdout] 428 | Div(Token![/]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:429:7 [INFO] [stdout] | [INFO] [stdout] 429 | Mod(Token![%]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:432:10 [INFO] [stdout] | [INFO] [stdout] 432 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `lexer` found for enum `TokenKind` in the current scope [INFO] [stdout] --> examples/calc/main.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 9 | enum TokenKind { [INFO] [stdout] | -------------- variant or associated item `lexer` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 151 | let lexer = TokenKind::lexer(reader); [INFO] [stdout] | ^^^^^ variant or associated item not found in `TokenKind` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lexer`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `laps::lexer::Tokenize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:433:3 [INFO] [stdout] | [INFO] [stdout] 433 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:439:10 [INFO] [stdout] | [INFO] [stdout] 439 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:440:3 [INFO] [stdout] | [INFO] [stdout] 440 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:442:7 [INFO] [stdout] | [INFO] [stdout] 442 | Pos(Token![+]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:443:7 [INFO] [stdout] | [INFO] [stdout] 443 | Neg(Token![-]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:444:7 [INFO] [stdout] | [INFO] [stdout] 444 | Not(Token![!]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:447:10 [INFO] [stdout] | [INFO] [stdout] 447 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Tokenize` in this scope [INFO] [stdout] --> examples/json/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Tokenize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Tokenize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/json/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `laps` (example "calc") due to 27 previous errors [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:448:3 [INFO] [stdout] | [INFO] [stdout] 448 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:453:10 [INFO] [stdout] | [INFO] [stdout] 453 | LitInt(Token![litint]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:456:10 [INFO] [stdout] | [INFO] [stdout] 456 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token_kind` in this scope [INFO] [stdout] --> examples/json/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[token_kind] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:457:3 [INFO] [stdout] | [INFO] [stdout] 457 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | _lpr: Token![lpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `skip` in this scope [INFO] [stdout] --> examples/json/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | #[skip(r"[ \r\n\t]+")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | _rpr: Token![rpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/json/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[regex(r"true|false|null")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:464:10 [INFO] [stdout] | [INFO] [stdout] 464 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/json/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[regex(r"-?([0-9]|[1-9][0-9]+)(\.[0-9]+)?([Ee][+-]?[0-9]+)?")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/json/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[regex(r#""([^\x00-\x1f"\\]|\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))*""#, json_str)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> examples/json/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[regex(r".")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `eof` in this scope [INFO] [stdout] --> examples/json/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | #[eof] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:465:3 [INFO] [stdout] | [INFO] [stdout] 465 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `token_ast` in this scope [INFO] [stdout] --> examples/json/main.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | token_ast! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `starts_with` in this scope [INFO] [stdout] --> examples/clike/main.rs:466:3 [INFO] [stdout] | [INFO] [stdout] 466 | #[starts_with(Token![ident], Token![lpr])] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/json/main.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/json/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:468:10 [INFO] [stdout] | [INFO] [stdout] 468 | ident: Token![ident], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | _lpr: Token![lpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/json/main.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | exps: SepSeq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | _eof: Token![eof], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/json/main.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/json/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | _rpr: Token![rpr], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:474:10 [INFO] [stdout] | [INFO] [stdout] 474 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/json/main.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | String(Token![str]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | Number(Token![num]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | True(Token![true]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:475:3 [INFO] [stdout] | [INFO] [stdout] 475 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | False(Token![false]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 477 | ident: Token![ident], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | Null(Token![null]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `try_span` in this scope [INFO] [stdout] --> examples/clike/main.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | #[try_span] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/clike/main.rs:482:10 [INFO] [stdout] | [INFO] [stdout] 482 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Spanned` in this scope [INFO] [stdout] --> examples/clike/main.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | #[derive(Parse, Spanned, Debug)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Spanned` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/clike/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/json/main.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/json/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/json/main.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | _lbk: Token![lbk], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | members: SepSeq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | _rbk: Token![rbk], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/json/main.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/json/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/clike/main.rs:483:3 [INFO] [stdout] | [INFO] [stdout] 483 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | _lbc: Token![lbc], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/json/main.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | _rbc: Token![rbc], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | name: Token![str], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | fn get(&self, ident: &Token![ident]) -> std::result::Result<&Value, EvalError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | _colon: Token![:], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:549:33 [INFO] [stdout] | [INFO] [stdout] 549 | fn get_mut(&mut self, ident: &Token![ident]) -> std::result::Result<&mut Value, EvalError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parse` in this scope [INFO] [stdout] --> examples/json/main.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | #[derive(Parse)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/json/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use laps::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/clike/main.rs:575:26 [INFO] [stdout] | [INFO] [stdout] 575 | struct LibFunc<'id>(&'id Token![ident], Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> examples/json/main.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[token(Token)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | _lbc: Token![lbc], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | values: SepSeq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Token` in this scope [INFO] [stdout] --> examples/json/main.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | _rbc: Token![rbc], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` is in scope, but it is a type alias, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `laps::return_error` [INFO] [stdout] --> examples/json/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use laps::return_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `int_literal` [INFO] [stdout] --> examples/clike/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use laps::lexer::{int_literal, Lexer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> examples/json/main.rs:196:45 [INFO] [stdout] | [INFO] [stdout] 196 | ValueDef::String(s) => Self::String(s.unwrap()), [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> examples/json/main.rs:197:45 [INFO] [stdout] | [INFO] [stdout] 197 | ValueDef::Number(n) => Self::Number(n.unwrap()), [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `maybe` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | Ok(if ::maybe(tokens)? { [INFO] [stdout] | ^^^^^ function or associated item not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> examples/json/main.rs:211:49 [INFO] [stdout] | [INFO] [stdout] 211 | .map(|Member { name, value, .. }| (name.unwrap(), value.into())) [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:310:26 [INFO] [stdout] | [INFO] [stdout] 310 | Self::Empty(tokens.parse()?) [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 18 others [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `maybe` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:313:23 [INFO] [stdout] | [INFO] [stdout] 313 | if ::maybe(tokens)? { [INFO] [stdout] | ^^^^^ function or associated item not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let exp = tokens.parse()?; [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 18 others [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `lexer` found for enum `TokenKind` in the current scope [INFO] [stdout] --> examples/json/main.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 16 | enum TokenKind { [INFO] [stdout] | -------------- variant or associated item `lexer` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 237 | let lexer = TokenKind::lexer(reader); [INFO] [stdout] | ^^^^^ variant or associated item not found in `TokenKind` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lexer`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `laps::lexer::Tokenize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EqOps: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let exp = tokens.parse()?; [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `EqOps` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList, ...>, ...>` to implement `laps::parse::Parse` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-3403826787519605913.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RelOps: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let exp = tokens.parse()?; [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `RelOps` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList, AddOps>, RelOps>` to implement `laps::parse::Parse` [INFO] [stdout] = note: 3 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddOps: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let exp = tokens.parse()?; [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `AddOps` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList, AddOps>` to implement `laps::parse::Parse` [INFO] [stdout] = note: 4 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnaryExp: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let exp = tokens.parse()?; [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `UnaryExp` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList` to implement `laps::parse::Parse` [INFO] [stdout] = note: 5 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MulOps: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:312:24 [INFO] [stdout] | [INFO] [stdout] 312 | let exp = tokens.parse()?; [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `MulOps` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList` to implement `laps::parse::Parse` [INFO] [stdout] = note: 5 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | _assign: tokens.parse()?, [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 18 others [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | rval: tokens.parse()?, [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 18 others [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EqOps: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | rval: tokens.parse()?, [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `EqOps` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList, ...>, ...>` to implement `laps::parse::Parse` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-3403826787519605913.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RelOps: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | rval: tokens.parse()?, [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `RelOps` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList, AddOps>, RelOps>` to implement `laps::parse::Parse` [INFO] [stdout] = note: 3 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AddOps: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | rval: tokens.parse()?, [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `AddOps` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList, AddOps>` to implement `laps::parse::Parse` [INFO] [stdout] = note: 4 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnaryExp: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | rval: tokens.parse()?, [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `UnaryExp` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList` to implement `laps::parse::Parse` [INFO] [stdout] = note: 5 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MulOps: laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | rval: tokens.parse()?, [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `MulOps` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 32 others [INFO] [stdout] = note: required for `NonEmptySepList` to implement `laps::parse::Parse` [INFO] [stdout] = note: 5 redundant requirements hidden [INFO] [stdout] = note: required for `NonEmptySepList, ()>, ()>` to implement `laps::parse::Parse` [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | _semi: tokens.parse()?, [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 18 others [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): laps::parse::Parse` is not satisfied [INFO] [stdout] --> examples/clike/main.rs:321:41 [INFO] [stdout] | [INFO] [stdout] 321 | Self::Exp(Box::new(exp), tokens.parse()?) [INFO] [stdout] | ^^^^^ the trait `laps::parse::Parse` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `laps::parse::Parse`: [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] (A, B, C, D, E, F, G, H) [INFO] [stdout] (A, B, C, D, E, F, G, H, I) [INFO] [stdout] and 18 others [INFO] [stdout] note: required by a bound in `laps::token::TokenStream::parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/token.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse(&mut self) -> Result [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 133 | where [INFO] [stdout] 134 | T: Parse, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `TokenStream::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `maybe` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | Ok(::maybe(tokens)? || Exp::maybe(tokens)?) [INFO] [stdout] | ^^^^^ function or associated item not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `maybe` exists for enum `NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:327:44 [INFO] [stdout] | [INFO] [stdout] 327 | Ok(::maybe(tokens)? || Exp::maybe(tokens)?) [INFO] [stdout] | ^^^^^ variant or associated item cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Parse<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::parse::Parse<_>` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::parse::Parse<_>` [INFO] [stdout] `(): laps::parse::Parse<_>` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::parse::Parse<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `laps` (example "json") due to 37 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for reference `&()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:539:29 [INFO] [stdout] | [INFO] [stdout] 539 | let id: &String = ident.unwrap_ref(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:544:33 [INFO] [stdout] | [INFO] [stdout] 544 | None => eval_err!(ident.span(), "variable `{id}` not found"), [INFO] [stdout] | ^^^^ method not found in `&()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for reference `&()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:550:29 [INFO] [stdout] | [INFO] [stdout] 550 | let id: &String = ident.unwrap_ref(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:555:33 [INFO] [stdout] | [INFO] [stdout] 555 | None => eval_err!(ident.span(), "variable `{id}` not found"), [INFO] [stdout] | ^^^^ method not found in `&()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for struct `Block` in the current scope [INFO] [stdout] --> examples/clike/main.rs:570:33 [INFO] [stdout] | [INFO] [stdout] 272 | struct Block { [INFO] [stdout] | ------------ method `span` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 570 | _ => eval_err!(self.block.span(), "function has no `return`"), [INFO] [stdout] | ^^^^ method not found in `Block` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for reference `&'id ()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:591:18 [INFO] [stdout] | [INFO] [stdout] 591 | match self.0.unwrap_ref::<&String, _>().as_ref() { [INFO] [stdout] | ^^^^^^^^^^ method not found in `&'id ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&'id ()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:583:20 [INFO] [stdout] | [INFO] [stdout] 583 | self.0.span(), [INFO] [stdout] | ^^^^ method not found in `&'id ()` [INFO] [stdout] ... [INFO] [stdout] 593 | assert_args_len!(0); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_args_len` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&'id ()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:597:42 [INFO] [stdout] | [INFO] [stdout] 597 | .map_err(|_| log_error!(self.0.span(), "failed to read line from stdin"))?; [INFO] [stdout] | ^^^^ method not found in `&'id ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&'id ()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:602:59 [INFO] [stdout] | [INFO] [stdout] 602 | .map_err(|_| EvalError::Error(log_error!(self.0.span(), "invalid integer `{trimmed}`"))) [INFO] [stdout] | ^^^^ method not found in `&'id ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&'id ()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:583:20 [INFO] [stdout] | [INFO] [stdout] 583 | self.0.span(), [INFO] [stdout] | ^^^^ method not found in `&'id ()` [INFO] [stdout] ... [INFO] [stdout] 605 | assert_args_len!(1); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_args_len` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&'id ()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:609:30 [INFO] [stdout] | [INFO] [stdout] 609 | id => eval_err!(self.0.span(), "function `{id}` not found"), [INFO] [stdout] | ^^^^ method not found in `&'id ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:626:48 [INFO] [stdout] | [INFO] [stdout] 626 | let dim = self.dim.as_ref().map(|d| *d.len.unwrap_ref::<&u64, _>()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for enum `InitVal` in the current scope [INFO] [stdout] --> examples/clike/main.rs:628:77 [INFO] [stdout] | [INFO] [stdout] 257 | enum InitVal { [INFO] [stdout] | ------------ method `span` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 628 | Some(init) => Some((init.init_val.eval(scopes, funcs)?, init.init_val.span())), [INFO] [stdout] | ^^^^ method not found in `InitVal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:658:37 [INFO] [stdout] | [INFO] [stdout] 658 | let ident: &String = self.ident.unwrap_ref(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:661:20 [INFO] [stdout] | [INFO] [stdout] 661 | self.ident.span(), [INFO] [stdout] | ^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:677:28 [INFO] [stdout] | [INFO] [stdout] 677 | _ => eval_err!(e.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-20116086675530224.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for enum `NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:720:31 [INFO] [stdout] | [INFO] [stdout] 720 | _ => eval_err!(a.rval.span(), "invalid assignment, expected integer type"), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for enum `NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:740:32 [INFO] [stdout] | [INFO] [stdout] 740 | _ => eval_err!(self.cond.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for enum `NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:752:34 [INFO] [stdout] | [INFO] [stdout] 752 | _ => eval_err!(self.cond.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for enum `NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:770:33 [INFO] [stdout] | [INFO] [stdout] 770 | _ => eval_err!(self.value.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-15704699237102830837.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ...>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:782:26 [INFO] [stdout] | [INFO] [stdout] 782 | _ => eval_err!(l.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-3039658350180704451.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:795:26 [INFO] [stdout] | [INFO] [stdout] 795 | _ => eval_err!(l.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-4164488773358419107.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:809:30 [INFO] [stdout] | [INFO] [stdout] 809 | _ => eval_err!($self.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 817 | / eval_exp! { [INFO] [stdout] 818 | | (self, scopes, funcs, l, r) { [INFO] [stdout] 819 | | EqOps::Eq(_) => (l == r) as i32, [INFO] [stdout] 820 | | EqOps::Ne(_) => (l != r) as i32, [INFO] [stdout] 821 | | } [INFO] [stdout] 822 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-553528383828777796.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `eval_exp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, AddOps>, RelOps>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:809:30 [INFO] [stdout] | [INFO] [stdout] 809 | _ => eval_err!($self.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 828 | / eval_exp! { [INFO] [stdout] 829 | | (self, scopes, funcs, l, r) { [INFO] [stdout] 830 | | RelOps::Lt(_) => (l < r) as i32, [INFO] [stdout] 831 | | RelOps::Gt(_) => (l > r) as i32, [INFO] [stdout] ... | [INFO] [stdout] 835 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>: laps::span::Spanned` [INFO] [stdout] = note: this error originates in the macro `eval_exp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, AddOps>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:809:30 [INFO] [stdout] | [INFO] [stdout] 809 | _ => eval_err!($self.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 841 | / eval_exp! { [INFO] [stdout] 842 | | (self, scopes, funcs, l, r) { [INFO] [stdout] 843 | | AddOps::Add(_) => l + r, [INFO] [stdout] 844 | | AddOps::Sub(_) => l - r, [INFO] [stdout] 845 | | } [INFO] [stdout] 846 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>: laps::span::Spanned` [INFO] [stdout] = note: this error originates in the macro `eval_exp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:809:30 [INFO] [stdout] | [INFO] [stdout] 434 | enum UnaryExp { [INFO] [stdout] | ------------- doesn't satisfy `UnaryExp: laps::span::Spanned` [INFO] [stdout] ... [INFO] [stdout] 809 | _ => eval_err!($self.span()), [INFO] [stdout] | ^^^^ method cannot be called on `&NonEmptySepList` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 852 | / eval_exp! { [INFO] [stdout] 853 | | (self, scopes, funcs, l, r) { [INFO] [stdout] 854 | | MulOps::Mul(_) => l * r, [INFO] [stdout] 855 | | MulOps::Div(_) => l / r, [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UnaryExp: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList: laps::span::Spanned` [INFO] [stdout] note: the trait `laps::span::Spanned` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/span.rs:619:1 [INFO] [stdout] | [INFO] [stdout] 619 | pub trait Spanned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `eval_exp` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&Box`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:872:26 [INFO] [stdout] | [INFO] [stdout] 434 | enum UnaryExp { [INFO] [stdout] | ------------- doesn't satisfy `UnaryExp: laps::span::Spanned` [INFO] [stdout] ... [INFO] [stdout] 872 | _ => eval_err!(e.span()), [INFO] [stdout] | ^^^^ method cannot be called on `&Box` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UnaryExp: laps::span::Spanned` [INFO] [stdout] which is required by `Box: laps::span::Spanned` [INFO] [stdout] note: the trait `laps::span::Spanned` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/span.rs:619:1 [INFO] [stdout] | [INFO] [stdout] 619 | pub trait Spanned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for reference `&()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:885:12 [INFO] [stdout] | [INFO] [stdout] 885 | *t.unwrap_ref::<&u64, _>() as i32 [INFO] [stdout] | ^^^^^^^^^^ method not found in `&()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:898:26 [INFO] [stdout] | [INFO] [stdout] 898 | _ => eval_err!(e.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-6832448612015831883.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:902:43 [INFO] [stdout] | [INFO] [stdout] 902 | let func = match funcs.get(self.ident.unwrap_ref::<&String, _>()) { [INFO] [stdout] | ^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:909:20 [INFO] [stdout] | [INFO] [stdout] 909 | self.ident.span(), [INFO] [stdout] | ^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for reference `&()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:922:46 [INFO] [stdout] | [INFO] [stdout] 922 | .map(|FuncParam { ident, .. }| ident.unwrap_ref::<&String, _>().clone()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `&()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:940:57 [INFO] [stdout] | [INFO] [stdout] 940 | EvalValue::Value(Value::Int(i)) => Ok((i, index.span())), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-3561713663630367712.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:941:30 [INFO] [stdout] | [INFO] [stdout] 941 | _ => eval_err!(index.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-3561713663630367712.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&Access` in the current scope [INFO] [stdout] --> examples/clike/main.rs:957:50 [INFO] [stdout] | [INFO] [stdout] 957 | (Value::Int(_), Some(_)) => eval_err!(self.span(), "integer type can not be indexed"), [INFO] [stdout] | ^^^^ method not found in `&Access` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&Access` in the current scope [INFO] [stdout] --> examples/clike/main.rs:958:49 [INFO] [stdout] | [INFO] [stdout] 958 | (Value::Array(_), None) => eval_err!(self.span()), [INFO] [stdout] | ^^^^ method not found in `&Access` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:973:31 [INFO] [stdout] | [INFO] [stdout] 973 | _ => eval_err!(self.span(), "invalid left-value expression"), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 980 | impl_assign_to!(Exp, AndExp, EqExp, RelExp, AddExp, MulExp); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-13634505651517025871.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `impl_assign_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ...>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:973:31 [INFO] [stdout] | [INFO] [stdout] 973 | _ => eval_err!(self.span(), "invalid left-value expression"), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 980 | impl_assign_to!(Exp, AndExp, EqExp, RelExp, AddExp, MulExp); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-1681365019952864600.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `impl_assign_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ...>, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:973:31 [INFO] [stdout] | [INFO] [stdout] 973 | _ => eval_err!(self.span(), "invalid left-value expression"), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 980 | impl_assign_to!(Exp, AndExp, EqExp, RelExp, AddExp, MulExp); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-11182196188460991257.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `impl_assign_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, AddOps>, RelOps>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:973:31 [INFO] [stdout] | [INFO] [stdout] 973 | _ => eval_err!(self.span(), "invalid left-value expression"), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 980 | impl_assign_to!(Exp, AndExp, EqExp, RelExp, AddExp, MulExp); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>: laps::span::Spanned` [INFO] [stdout] = note: this error originates in the macro `impl_assign_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, AddOps>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:973:31 [INFO] [stdout] | [INFO] [stdout] 973 | _ => eval_err!(self.span(), "invalid left-value expression"), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 980 | impl_assign_to!(Exp, AndExp, EqExp, RelExp, AddExp, MulExp); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>: laps::span::Spanned` [INFO] [stdout] = note: this error originates in the macro `impl_assign_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:973:31 [INFO] [stdout] | [INFO] [stdout] 434 | enum UnaryExp { [INFO] [stdout] | ------------- doesn't satisfy `UnaryExp: laps::span::Spanned` [INFO] [stdout] ... [INFO] [stdout] 973 | _ => eval_err!(self.span(), "invalid left-value expression"), [INFO] [stdout] | ^^^^ method cannot be called on `&NonEmptySepList` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 980 | impl_assign_to!(Exp, AndExp, EqExp, RelExp, AddExp, MulExp); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `UnaryExp: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList: laps::span::Spanned` [INFO] [stdout] note: the trait `laps::span::Spanned` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/span.rs:619:1 [INFO] [stdout] | [INFO] [stdout] 619 | pub trait Spanned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `impl_assign_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&UnaryExp` in the current scope [INFO] [stdout] --> examples/clike/main.rs:986:27 [INFO] [stdout] | [INFO] [stdout] 986 | _ => eval_err!(self.span(), "invalid left-value expression"), [INFO] [stdout] | ^^^^ method not found in `&UnaryExp` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&PrimaryExp` in the current scope [INFO] [stdout] --> examples/clike/main.rs:995:27 [INFO] [stdout] | [INFO] [stdout] 995 | _ => eval_err!(self.span(), "invalid left-value expression"), [INFO] [stdout] | ^^^^ method not found in `&PrimaryExp` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:1007:57 [INFO] [stdout] | [INFO] [stdout] 1007 | EvalValue::Value(Value::Int(i)) => Ok((i, index.span())), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-3561713663630367712.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `span` exists for reference `&NonEmptySepList, ()>, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:1008:30 [INFO] [stdout] | [INFO] [stdout] 1008 | _ => eval_err!(index.span()), [INFO] [stdout] | ^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/ast.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum NonEmptySepList { [INFO] [stdout] | ------------------------------ doesn't satisfy `_: Spanned` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>: laps::span::Spanned` [INFO] [stdout] which is required by `NonEmptySepList, AddOps>, RelOps>, EqOps>, ()>, ()>: laps::span::Spanned` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/clike-4d33a7a316af1dec.long-type-3561713663630367712.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&Access` in the current scope [INFO] [stdout] --> examples/clike/main.rs:1024:50 [INFO] [stdout] | [INFO] [stdout] 1024 | (Value::Int(_), Some(_)) => eval_err!(self.span(), "integer type can not be indexed"), [INFO] [stdout] | ^^^^ method not found in `&Access` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for reference `&Access` in the current scope [INFO] [stdout] --> examples/clike/main.rs:1025:49 [INFO] [stdout] | [INFO] [stdout] 1025 | (Value::Array(_), None) => eval_err!(self.span()), [INFO] [stdout] | ^^^^ method not found in `&Access` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `span`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `InputStream` [INFO] [stdout] candidate #2: `laps::span::Spanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `parse` exists for struct `TokenBuffer, laps::token::Token>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/clike/main.rs:1038:36 [INFO] [stdout] | [INFO] [stdout] 1038 | let decl_def: DeclDef = tokens.parse()?; [INFO] [stdout] | -------^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `TokenBuffer, laps::token::Token>::parse()` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lexer.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Lexer { [INFO] [stdout] | ---------------------- doesn't satisfy `<_ as Tokenizer>::Token = Token` or `Lexer: Tokenizer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/token.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 306 | pub struct TokenBuffer { [INFO] [stdout] | ----------------------------- doesn't satisfy `_: TokenStream` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `laps::parse::Parse` [INFO] [stdout] --> /opt/rustwide/workdir/src/parse.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse(tokens: &mut TS) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as Tokenizer>::Token = laps::token::Token` [INFO] [stdout] which is required by `TokenBuffer, laps::token::Token>: laps::token::TokenStream` [INFO] [stdout] `Lexer: Tokenizer` [INFO] [stdout] which is required by `TokenBuffer, laps::token::Token>: laps::token::TokenStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_ref` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:1041:32 [INFO] [stdout] | [INFO] [stdout] 1041 | let ident = func.ident.unwrap_ref::<&String, _>().clone(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `span` found for unit type `()` in the current scope [INFO] [stdout] --> examples/clike/main.rs:1042:31 [INFO] [stdout] | [INFO] [stdout] 1042 | let span = func.ident.span(); [INFO] [stdout] | ^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `lexer` found for enum `TokenKind` in the current scope [INFO] [stdout] --> examples/clike/main.rs:1087:26 [INFO] [stdout] | [INFO] [stdout] 19 | enum TokenKind { [INFO] [stdout] | -------------- variant or associated item `lexer` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1087 | let lexer = TokenKind::lexer(reader); [INFO] [stdout] | ^^^^^ variant or associated item not found in `TokenKind` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lexer`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `laps::lexer::Tokenize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `laps` (example "clike") due to 223 previous errors; 1 warning emitted [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | fn lookahead(&mut self) -> Lookahead [INFO] [stdout] | ^^^^^^^^^ ---------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 229 | fn lookahead(&mut self) -> Lookahead<'_, Self, Self::Token> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a7f3c4f479e2d62fcdeb60b1e05a3f21318a9fc3c38fab8471fd952a0a0a17e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a7f3c4f479e2d62fcdeb60b1e05a3f21318a9fc3c38fab8471fd952a0a0a17e", kill_on_drop: false }` [INFO] [stdout] 5a7f3c4f479e2d62fcdeb60b1e05a3f21318a9fc3c38fab8471fd952a0a0a17e