[INFO] cloning repository https://github.com/alberrttt/something [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alberrttt/something" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falberrttt%2Fsomething", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falberrttt%2Fsomething'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 733ed499cec6585b7a228e76b52f0105f2e0868f [INFO] checking alberrttt/something against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118920-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falberrttt%2Fsomething" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alberrttt/something on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alberrttt/something [INFO] finished tweaking git repo https://github.com/alberrttt/something [INFO] tweaked toml for git repo https://github.com/alberrttt/something written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alberrttt/something 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle v1.0.1 [INFO] [stderr] Downloaded pad v0.1.6 [INFO] [stderr] Downloaded casey v0.4.0 [INFO] [stderr] Downloaded unicode-width v0.1.10 [INFO] [stderr] Downloaded anstream v0.3.2 [INFO] [stderr] Downloaded ctrlc v3.4.0 [INFO] [stderr] Downloaded clap_derive v4.3.12 [INFO] [stderr] Downloaded clap v4.3.23 [INFO] [stderr] Downloaded clap_builder v4.3.23 [INFO] [stderr] Downloaded linux-raw-sys v0.4.5 [INFO] [stderr] Downloaded nix v0.26.2 [INFO] [stderr] Downloaded syn v2.0.29 [INFO] [stderr] Downloaded rustix v0.38.8 [INFO] [stderr] Downloaded bitflags v2.4.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.1 [INFO] [stderr] Downloaded errno v0.3.2 [INFO] [stderr] Downloaded anstyle-wincon v1.0.2 [INFO] [stderr] Downloaded clap_lex v0.5.0 [INFO] [stderr] Downloaded colored v2.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 968249ba6d0eb5d3861b497ed010e40ae4df933f48e3a46604a2d3b62fa23194 [INFO] running `Command { std: "docker" "start" "-a" "968249ba6d0eb5d3861b497ed010e40ae4df933f48e3a46604a2d3b62fa23194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "968249ba6d0eb5d3861b497ed010e40ae4df933f48e3a46604a2d3b62fa23194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968249ba6d0eb5d3861b497ed010e40ae4df933f48e3a46604a2d3b62fa23194", kill_on_drop: false }` [INFO] [stdout] 968249ba6d0eb5d3861b497ed010e40ae4df933f48e3a46604a2d3b62fa23194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e961a475253b3515e585f2e3cca9bfc214575b7ec7c8d3801a4205bf663e67f [INFO] running `Command { std: "docker" "start" "-a" "7e961a475253b3515e585f2e3cca9bfc214575b7ec7c8d3801a4205bf663e67f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking syn v2.0.29 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking something-common v0.1.0 (/opt/rustwide/workdir/something-common) [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-common/src/msg.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, fmt::Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-common/src/msg.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, fmt::Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap_builder v4.3.23 [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-common/src/msg.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-common/src/msg.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking something-dev-tools v0.1.0 (/opt/rustwide/workdir/something-dev-tools) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-dev-tools/src/parse_tokens.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 9 | / match derive.data { [INFO] [stdout] 10 | | Data::Enum(enum_data) => { [INFO] [stdout] 11 | | let name = derive.ident; [INFO] [stdout] 12 | | [INFO] [stdout] ... | [INFO] [stdout] 101 | | Data::Union(_enum_data) => panic!("unions unsupported"), [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 103 | panic!() [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-dev-tools/src/parse_tokens.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 9 | / match derive.data { [INFO] [stdout] 10 | | Data::Enum(enum_data) => { [INFO] [stdout] 11 | | let name = derive.ident; [INFO] [stdout] 12 | | [INFO] [stdout] ... | [INFO] [stdout] 101 | | Data::Union(_enum_data) => panic!("unions unsupported"), [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 103 | panic!() [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_name` is never used [INFO] [stdout] --> something-dev-tools/src/item_name.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn item_name(parser: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Compiling casey v0.4.0 [INFO] [stdout] warning: function `item_name` is never used [INFO] [stdout] --> something-dev-tools/src/item_name.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn item_name(parser: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-dev-tools/src/parse_tokens.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 9 | / match derive.data { [INFO] [stdout] 10 | | Data::Enum(enum_data) => { [INFO] [stdout] 11 | | let name = derive.ident; [INFO] [stdout] 12 | | [INFO] [stdout] ... | [INFO] [stdout] 101 | | Data::Union(_enum_data) => panic!("unions unsupported"), [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 103 | panic!() [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_name` is never used [INFO] [stdout] --> something-dev-tools/src/item_name.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn item_name(parser: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.3.23 [INFO] [stderr] Checking something-ast v0.1.0 (/opt/rustwide/workdir/something-ast) [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> something-ast/src/ast/mod.rs:3:85 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokenizer::{self, list::List, token::Token, traits::AppendTokens, Parse, TokenStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_common::devprintln` [INFO] [stdout] --> something-ast/src/ast/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use something_common::devprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `__attribute::*` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use __attribute::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/function/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | let (function_declaration, _): (Declaration, _) = ast!( [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 24 | | "fn x(number x, number y) { [INFO] [stdout] 25 | | let z: number = y + x; [INFO] [stdout] 26 | | } -> void" [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `__functiondeclaration::*` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use __functiondeclaration::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/var.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | let (var_decl, _): (VariableDeclaration, _) = crate::ast!("let a = 1;"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/path.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | let (path, _): (Path, _) = ast!("standard:io:print"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer::prelude::*` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::tokenizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/omited_trailing.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | let (ast, _): (OmitTrailing, _) = ast!("a, b, c,"); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error::Error` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/mod.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | let (_, _): (Punctuated, _) = ast!("a,b,c"); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/statement/use_stmt.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let (_, _): (Use, _) = ast!("use standard:io:print"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::path::var` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::path::var; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ast::expression::Expression, parser}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseTokens` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use something_dev_tools::{item_name, ParseTokens, ParseTokensDisplay}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> something-ast/src/error/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-ast/src/error/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | use std::{any, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `idents` should have an upper camel case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | type idents = (Ident, Ident, Ident, Ident, Ident, Ident); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Idents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> something-ast/src/ast/mod.rs:3:85 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokenizer::{self, list::List, token::Token, traits::AppendTokens, Parse, TokenStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_common::devprintln` [INFO] [stdout] --> something-ast/src/ast/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use something_common::devprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `__attribute::*` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use __attribute::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `__functiondeclaration::*` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use __functiondeclaration::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Macros::Tkn` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::Parser` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer::prelude::*` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::tokenizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ast, tokenizer::prelude::*}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error::Error` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Macros::Tkn` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::path::var` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::path::var; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ast::expression::Expression, parser}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseTokens` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use something_dev_tools::{item_name, ParseTokens, ParseTokensDisplay}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> something-ast/src/error/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-ast/src/error/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | use std::{any, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer::prelude::*` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::tokenizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-ast/src/ast/mod.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug, Clone, ParseTokens, ParseTokensDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 74 | let mut vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-ast/src/ast/mod.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug, Clone, ParseTokens, ParseTokensDisplay)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 64 | / match self.peek() { [INFO] [stdout] 65 | | Ok(token) => { [INFO] [stdout] 66 | | if *token == target { [INFO] [stdout] 67 | | let token = token.clone(); [INFO] [stdout] ... | [INFO] [stdout] 75 | | // but, if the self.peek() errors, it usually means that we're at the end of the tokens [INFO] [stdout] 76 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 77 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 74 | let mut vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 64 | / match self.peek() { [INFO] [stdout] 65 | | Ok(token) => { [INFO] [stdout] 66 | | if *token == target { [INFO] [stdout] 67 | | let token = token.clone(); [INFO] [stdout] ... | [INFO] [stdout] 75 | | // but, if the self.peek() errors, it usually means that we're at the end of the tokens [INFO] [stdout] 76 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 77 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/mod.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/mod.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/function/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | let (function_declaration, _): (Declaration, _) = ast!( [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 24 | | "fn x(number x, number y) { [INFO] [stdout] 25 | | let z: number = y + x; [INFO] [stdout] 26 | | } -> void" [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/function/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | let (function_declaration, _): (Declaration, _) = ast!( [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 24 | | "fn x(number x, number y) { [INFO] [stdout] 25 | | let z: number = y + x; [INFO] [stdout] 26 | | } -> void" [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/var.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | let (var_decl, _): (VariableDeclaration, _) = crate::ast!("let a = 1;"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/var.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | let (var_decl, _): (VariableDeclaration, _) = crate::ast!("let a = 1;"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 70 | Recoverable => {} [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 71 | Ok(ok) => return Ok(Expression::Call(ok)), [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 70 | Recoverable => {} [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 71 | Ok(ok) => return Ok(Expression::Call(ok)), [INFO] [stdout] 72 | Err(err) => return Err(err), [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/mod.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/path.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | let (path, _): (Path, _) = ast!("standard:io:print"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/path.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | let (path, _): (Path, _) = ast!("standard:io:print"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/mod.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/omited_trailing.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | let (ast, _): (OmitTrailing, _) = ast!("a, b, c,"); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/omited_trailing.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | let (ast, _): (OmitTrailing, _) = ast!("a, b, c,"); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:72:36 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_error_on_trailing(parser: &mut crate::parser::Parser) -> ParseResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Recoverable => break, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Recoverable => break, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | Err(err) => None, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/mod.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | let (_, _): (Punctuated, _) = ast!("a,b,c"); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/mod.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | let (_, _): (Punctuated, _) = ast!("a,b,c"); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/statement/use_stmt.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let (_, _): (Use, _) = ast!("use standard:io:print"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/statement/use_stmt.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let (_, _): (Use, _) = ast!("use standard:io:print"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> something-ast/src/error/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | Some(backtrace) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> something-ast/src/error/mod.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn EndOfTokens(backtrace: Backtrace) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> something-ast/src/error/mod.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | Some(b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> something-ast/src/parser.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | for error in &self.parse_errors { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmter` [INFO] [stdout] --> something-ast/src/parser.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | fn write_errors(&self, fmter: &mut Formatter) -> std::fmt::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fmter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> something-ast/src/parser.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut parser = Parser::new(file_name, source); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> something-ast/src/parser.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut parser = Parser::new(file_name, source); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 70 | Recoverable => {} [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 71 | Ok(ok) => return Ok(Expression::Call(ok)), [INFO] [stdout] | ^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 70 | Recoverable => {} [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 71 | Ok(ok) => return Ok(Expression::Call(ok)), [INFO] [stdout] 72 | Err(err) => return Err(err), [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:72:36 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_error_on_trailing(parser: &mut crate::parser::Parser) -> ParseResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Recoverable => break, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Recoverable => break, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | Err(err) => None, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> something-ast/src/error/mod.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | Some(backtrace) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> something-ast/src/error/mod.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn EndOfTokens(backtrace: Backtrace) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> something-ast/src/error/mod.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | Some(b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> something-ast/src/parser.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | for error in &self.parse_errors { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmter` [INFO] [stdout] --> something-ast/src/parser.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | fn write_errors(&self, fmter: &mut Formatter) -> std::fmt::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fmter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Binary { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 117 | fn new(left: Expression, op: Operator, right: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_errors` is never used [INFO] [stdout] --> something-ast/src/parser.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> ErrorHandler<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 67 | fn write_errors(&self, fmter: &mut Formatter) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/ast/mod.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | parser.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = parser.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/ast/mod.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | parser.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = parser.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/mod.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/function/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | let (function_declaration, _): (Declaration, _) = ast!( [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 24 | | "fn x(number x, number y) { [INFO] [stdout] 25 | | let z: number = y + x; [INFO] [stdout] 26 | | } -> void" [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | ... parser.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = parser.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/var.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | let (var_decl, _): (VariableDeclaration, _) = crate::ast!("let a = 1;"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/path.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | let (path, _): (Path, _) = ast!("standard:io:print"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Recoverable => break, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/mod.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | let (_, _): (Punctuated, _) = ast!("a,b,c"); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/omited_trailing.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | let (ast, _): (OmitTrailing, _) = ast!("a, b, c,"); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/mod.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/statement/use_stmt.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let (_, _): (Use, _) = ast!("use standard:io:print"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> something-ast/src/parser.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn step(&mut self, F: impl FnOnce(&mut Self) -> ParseResult) -> ParseResult { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/tokenizer/list.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | parser.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = parser.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | self.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = self.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Macros` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | pub mod Macros { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `macros` [INFO] [stdout] ... [INFO] [stdout] 427 | / DefineTokens!( [INFO] [stdout] 428 | | [If, Fn, Let, Return, While, For, Use], [INFO] [stdout] 429 | | [ [INFO] [stdout] 430 | | [==] => EqualEqual, [INFO] [stdout] ... | [INFO] [stdout] 456 | | ] [INFO] [stdout] 457 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DefineTokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | tuple_parse_impl!(A, B, C, D); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | tuple_parse_impl!(A, B, C, D); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | tuple_parse_impl!(A, B, C, D); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | tuple_parse_impl!(A, B, C, D); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | tuple_parse_impl!(A, B, C); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | tuple_parse_impl!(A, B, C); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | tuple_parse_impl!(A, B, C); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | tuple_parse_impl!(A, B); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | tuple_parse_impl!(A, B); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 114 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Binary { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 117 | fn new(left: Expression, op: Operator, right: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_errors` is never used [INFO] [stdout] --> something-ast/src/parser.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'a> ErrorHandler<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 67 | fn write_errors(&self, fmter: &mut Formatter) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/ast/mod.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | parser.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = parser.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/ast/mod.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | parser.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = parser.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/mod.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | ... parser.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = parser.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | Recoverable => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Recoverable => break, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> something-ast/src/parser.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn step(&mut self, F: impl FnOnce(&mut Self) -> ParseResult) -> ParseResult { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/tokenizer/list.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | parser.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = parser.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | self.advance(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = self.advance(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Macros` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | pub mod Macros { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `macros` [INFO] [stdout] ... [INFO] [stdout] 427 | / DefineTokens!( [INFO] [stdout] 428 | | [If, Fn, Let, Return, While, For, Use], [INFO] [stdout] 429 | | [ [INFO] [stdout] 430 | | [==] => EqualEqual, [INFO] [stdout] ... | [INFO] [stdout] 456 | | ] [INFO] [stdout] 457 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DefineTokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | tuple_parse_impl!(A, B, C, D, E, F); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | tuple_parse_impl!(A, B, C, D, E); [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | tuple_parse_impl!(A, B, C, D); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | tuple_parse_impl!(A, B, C, D); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | tuple_parse_impl!(A, B, C, D); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `D` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | tuple_parse_impl!(A, B, C, D); [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | tuple_parse_impl!(A, B, C); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | tuple_parse_impl!(A, B, C); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | tuple_parse_impl!(A, B, C); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | tuple_parse_impl!(A, B); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | tuple_parse_impl!(A, B); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking something-frontend v0.1.0 (/opt/rustwide/workdir/something-frontend) [INFO] [stderr] Checking something-typecheck v0.1.0 (/opt/rustwide/workdir/something-semantic) [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> something-frontend/src/tests/to_tokens.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> something-ast/./bin/mod.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use something_ast::tokenizer::{Parse, ParsingDisplay, TokenStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> something-frontend/src/tests/to_tokens.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-frontend/src/tests/to_tokens.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer::prelude::*` [INFO] [stdout] --> something-frontend/src/tests/to_tokens.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokenizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> something-semantic/src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::devprintln` [INFO] [stdout] --> something-semantic/src/lib.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use something_ast::{ast::prelude::*, prelude::devprintln}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SymbolTable` [INFO] [stdout] --> something-semantic/src/lib.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use symbol::{FnSig, Symbol, SymbolTable, Type}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InferType` [INFO] [stdout] --> something-semantic/src/lib.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use type_infer::{InferLiteralType, InferType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> something-semantic/src/error.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> something-semantic/src/error.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-semantic/src/error.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | use std::{any, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_write` [INFO] [stdout] --> something-semantic/src/error.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | macro_rules! err_write { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `UnsafeCell`, `collections::HashSet`, `marker::PhantomData`, `self` [INFO] [stdout] --> something-semantic/src/scopes.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | backtrace::{self, Backtrace}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | cell::{RefCell, UnsafeCell}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | fmt::Debug, [INFO] [stdout] 6 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Declaration`, `ToTokens` [INFO] [stdout] --> something-semantic/src/scopes.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | prelude::{Declaration, Expression, FunctionDeclaration}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | traits::{AppendTokens, ToTokens}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStream` [INFO] [stdout] --> something-ast/./bin/mod.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | use something_ast::tokenizer::{Parse, ParsingDisplay, TokenStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tokenizer` [INFO] [stdout] --> something-ast/tests/mod.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | use something_ast::tokenizer::{prelude::*, Tokenizer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InferType` [INFO] [stdout] --> something-semantic/src/scopes.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | type_infer::{InferLiteralType, InferType}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_common::devprintln` [INFO] [stdout] --> something-semantic/src/scopes.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use something_common::devprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_ast::tokenizer::prelude::Ident` [INFO] [stdout] --> something-semantic/src/symbol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use something_ast::tokenizer::prelude::Ident; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expression` [INFO] [stdout] --> something-semantic/src/type_check.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_ast::tokenizer::Parse` [INFO] [stdout] --> something-semantic/src/control_flow/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use something_ast::tokenizer::Parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ast::prelude::Declaration`, `tokenizer::prelude::List` [INFO] [stdout] --> something-semantic/src/tests.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use something_ast::{ast::prelude::Declaration, tokenizer::prelude::List}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> something-semantic/src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_common::devprintln` [INFO] [stdout] --> something-semantic/src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use something_common::devprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> something-semantic/src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Module` [INFO] [stdout] --> something-semantic/src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::Module; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> something-semantic/src/lib.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> something-ast/./bin/repl.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 28 | / match parser.step(|parser| match FunctionDeclaration::parse(parser) { [INFO] [stdout] 29 | | Ok(ok) => Ok(Repl::Fn(ok)), [INFO] [stdout] 30 | | Err(err) => Err(err), [INFO] [stdout] 31 | | }) { [INFO] [stdout] 32 | | Ok(ok) => return Ok(ok), [INFO] [stdout] 33 | | Err(err) => return Err(err), [INFO] [stdout] 34 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 35 | devprintln!("parsing node now"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `devprintln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> something-semantic/src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SymbolTable` [INFO] [stdout] --> something-semantic/src/lib.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use symbol::{FnSig, Symbol, SymbolTable, Type}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InferType` [INFO] [stdout] --> something-semantic/src/lib.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use type_infer::{InferLiteralType, InferType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> something-semantic/src/error.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> something-semantic/src/error.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-semantic/src/error.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | use std::{any, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_write` [INFO] [stdout] --> something-semantic/src/error.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | macro_rules! err_write { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Backtrace`, `UnsafeCell`, `collections::HashSet`, `marker::PhantomData`, `self` [INFO] [stdout] --> something-semantic/src/scopes.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | backtrace::{self, Backtrace}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | cell::{RefCell, UnsafeCell}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | fmt::Debug, [INFO] [stdout] 6 | marker::PhantomData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Declaration`, `ToTokens` [INFO] [stdout] --> something-semantic/src/scopes.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | prelude::{Declaration, Expression, FunctionDeclaration}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | traits::{AppendTokens, ToTokens}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InferType` [INFO] [stdout] --> something-semantic/src/scopes.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | type_infer::{InferLiteralType, InferType}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> something-ast/./bin/repl.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 28 | / match parser.step(|parser| match FunctionDeclaration::parse(parser) { [INFO] [stdout] 29 | | Ok(ok) => Ok(Repl::Fn(ok)), [INFO] [stdout] 30 | | Err(err) => Err(err), [INFO] [stdout] 31 | | }) { [INFO] [stdout] 32 | | Ok(ok) => return Ok(ok), [INFO] [stdout] 33 | | Err(err) => return Err(err), [INFO] [stdout] 34 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 35 | devprintln!("parsing node now"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `devprintln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_common::devprintln` [INFO] [stdout] --> something-semantic/src/scopes.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use something_common::devprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_ast::tokenizer::prelude::Ident` [INFO] [stdout] --> something-semantic/src/symbol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use something_ast::tokenizer::prelude::Ident; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expression` [INFO] [stdout] --> something-semantic/src/type_check.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_ast::tokenizer::Parse` [INFO] [stdout] --> something-semantic/src/control_flow/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use something_ast::tokenizer::Parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> something-ast/./bin/repl.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | fmt::{Debug, Display}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/./bin/repl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | Recoverable => {} [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 25 | Err(err) => return Err(err), [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/./bin/repl.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/tests/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | dbg!(tokens.peek()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/tests/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | dbg!(tokens.peek()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/tests/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | dbg!(Expression::parse(&mut tokens)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/tests/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | dbg!(tokens.peek()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/tests/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | dbg!(Expression::parse(&mut tokens)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-ast/tests/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | dbg!(tokens.peek()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> something-ast/./bin/repl.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | fmt::{Debug, Display}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/./bin/repl.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | Recoverable => {} [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 25 | Err(err) => return Err(err), [INFO] [stdout] | ^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/./bin/repl.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/./bin/mod.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/./bin/mod.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/./bin/mod.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/./bin/repl.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> something-semantic/src/scopes.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 87 | ... panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 88 | / ... return Err(TypeError::MismatchExpressionType( [INFO] [stdout] 89 | | ... param.clone(), [INFO] [stdout] 90 | | ... Some(param_ty), [INFO] [stdout] 91 | | ... arg_ty.clone(), [INFO] [stdout] 92 | | ... )); [INFO] [stdout] | |_________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> something-semantic/src/scopes.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 87 | ... panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 88 | / ... return Err(TypeError::MismatchExpressionType( [INFO] [stdout] 89 | | ... param.clone(), [INFO] [stdout] 90 | | ... Some(param_ty), [INFO] [stdout] 91 | | ... arg_ty.clone(), [INFO] [stdout] 92 | | ... )); [INFO] [stdout] | |_________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-ast/./bin/mod.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-ast/./bin/mod.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/./bin/mod.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-ast/./bin/repl.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Recoverable => {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-semantic/src/type_check.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | _ => return todo!(), [INFO] [stdout] | ^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-semantic/src/type_check.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | _ => return todo!(), [INFO] [stdout] | ^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> something-semantic/src/error.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | Some(backtrace) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backtrace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> something-semantic/src/error.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | Some(backtrace) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backtrace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> something-semantic/src/error.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(backtrace) = self.backtrace.as_ref() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> something-semantic/src/error.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | Some(b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_start` [INFO] [stdout] --> something-semantic/src/error.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | let right_start = right_tkns.first().unwrap().span().start; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator_len` [INFO] [stdout] --> something-semantic/src/error.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | let operator_len = operator.token.span().length(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `missing` [INFO] [stdout] --> something-semantic/src/error.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | MissingReturnStatement(missing) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backtrace` [INFO] [stdout] --> something-semantic/src/error.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(backtrace) = self.backtrace.as_ref() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backtrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> something-semantic/src/error.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | Some(b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_start` [INFO] [stdout] --> something-semantic/src/error.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | let right_start = right_tkns.first().unwrap().span().start; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator_len` [INFO] [stdout] --> something-semantic/src/error.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | let operator_len = operator.token.span().length(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `missing` [INFO] [stdout] --> something-semantic/src/error.rs:404:36 [INFO] [stdout] | [INFO] [stdout] 404 | MissingReturnStatement(missing) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> something-semantic/src/error.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | let mut right_tkns = right.0.to_tokens(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> something-semantic/src/error.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | let mut right_tkns = right.0.to_tokens(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retur` [INFO] [stdout] --> something-semantic/src/scopes.rs:158:61 [INFO] [stdout] | [INFO] [stdout] 158 | } else if let Node::Statement(Statement::Return(retur)) = stmt { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_retur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retur` [INFO] [stdout] --> something-semantic/src/scopes.rs:158:61 [INFO] [stdout] | [INFO] [stdout] 158 | } else if let Node::Statement(Statement::Return(retur)) = stmt { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_retur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-semantic/src/type_check.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-semantic/src/type_check.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-semantic/src/type_check.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | _ => return todo!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-semantic/src/type_check.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-semantic/src/type_check.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 148 | Recoverable => todo!(), [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 149 | Err(mut err) => { [INFO] [stdout] | ^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-semantic/src/type_check.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `against` [INFO] [stdout] --> something-semantic/src/type_check.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | fn type_check(&self, scope: Self::With, against: Self::Against) -> Self::Output { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_against` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> something-semantic/src/type_infer.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | lit_impl::Inner::Float(n) => Ok(Type::Number), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> something-semantic/src/type_infer.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | lit_impl::Inner::Integer(i) => Ok(Type::Number), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-semantic/src/type_check.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-semantic/src/type_check.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | _ => return todo!(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> something-semantic/src/type_check.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 148 | Recoverable => todo!(), [INFO] [stdout] | ----------- matches any value [INFO] [stdout] 149 | Err(mut err) => { [INFO] [stdout] | ^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Recoverable` [INFO] [stdout] --> something-semantic/src/type_check.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `against` [INFO] [stdout] --> something-semantic/src/type_check.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | fn type_check(&self, scope: Self::With, against: Self::Against) -> Self::Output { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_against` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> something-semantic/src/type_infer.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | lit_impl::Inner::Float(n) => Ok(Type::Number), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> something-semantic/src/type_infer.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | lit_impl::Inner::Integer(i) => Ok(Type::Number), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_type` [INFO] [stdout] --> something-semantic/src/lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let symbol_type = todo!(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> something-semantic/src/lib.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | fn add_variable_to_symbol_table(&mut self, variable: &VariableDeclaration) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> something-semantic/src/error.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SurroundingTokensPayload { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(tokens: TokenStream, range: Range) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Continue`, `Break`, `Return`, and `Branch` are never constructed [INFO] [stdout] --> something-semantic/src/control_flow/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Flow { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Branch(Branch), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-semantic/src/type_check.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-semantic/src/type_check.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_type` [INFO] [stdout] --> something-semantic/src/lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let symbol_type = todo!(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> something-semantic/src/lib.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | fn add_variable_to_symbol_table(&mut self, variable: &VariableDeclaration) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> something-semantic/src/error.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SurroundingTokensPayload { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(tokens: TokenStream, range: Range) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Continue`, `Break`, `Return`, and `Branch` are never constructed [INFO] [stdout] --> something-semantic/src/control_flow/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Flow { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Branch(Branch), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-semantic/src/type_check.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Recoverable` should have a snake case name [INFO] [stdout] --> something-semantic/src/type_check.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | Recoverable => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `recoverable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.21s [INFO] running `Command { std: "docker" "inspect" "7e961a475253b3515e585f2e3cca9bfc214575b7ec7c8d3801a4205bf663e67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e961a475253b3515e585f2e3cca9bfc214575b7ec7c8d3801a4205bf663e67f", kill_on_drop: false }` [INFO] [stdout] 7e961a475253b3515e585f2e3cca9bfc214575b7ec7c8d3801a4205bf663e67f [INFO] checking alberrttt/something against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falberrttt%2Fsomething" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alberrttt/something on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alberrttt/something [INFO] finished tweaking git repo https://github.com/alberrttt/something [INFO] tweaked toml for git repo https://github.com/alberrttt/something written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alberrttt/something 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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 219a5b1ca8a766a4c8269e4665735317aaf14ab3c223cf5613fcbb95a496d024 [INFO] running `Command { std: "docker" "start" "-a" "219a5b1ca8a766a4c8269e4665735317aaf14ab3c223cf5613fcbb95a496d024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "219a5b1ca8a766a4c8269e4665735317aaf14ab3c223cf5613fcbb95a496d024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219a5b1ca8a766a4c8269e4665735317aaf14ab3c223cf5613fcbb95a496d024", kill_on_drop: false }` [INFO] [stdout] 219a5b1ca8a766a4c8269e4665735317aaf14ab3c223cf5613fcbb95a496d024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e73944ec6cb6bc01442842c53599bc2b914e819f0591e8484c7b6b85ee97106c [INFO] running `Command { std: "docker" "start" "-a" "e73944ec6cb6bc01442842c53599bc2b914e819f0591e8484c7b6b85ee97106c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling rustix v0.38.8 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.23 [INFO] [stderr] Checking something-common v0.1.0 (/opt/rustwide/workdir/something-common) [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-common/src/msg.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, fmt::Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-common/src/msg.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{default, fmt::Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-common/src/msg.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> something-common/src/msg.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Checking something-dev-tools v0.1.0 (/opt/rustwide/workdir/something-dev-tools) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-dev-tools/src/parse_tokens.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 9 | / match derive.data { [INFO] [stdout] 10 | | Data::Enum(enum_data) => { [INFO] [stdout] 11 | | let name = derive.ident; [INFO] [stdout] 12 | | [INFO] [stdout] ... | [INFO] [stdout] 101 | | Data::Union(_enum_data) => panic!("unions unsupported"), [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 103 | panic!() [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_name` is never used [INFO] [stdout] --> something-dev-tools/src/item_name.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn item_name(parser: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-dev-tools/src/parse_tokens.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 9 | / match derive.data { [INFO] [stdout] 10 | | Data::Enum(enum_data) => { [INFO] [stdout] 11 | | let name = derive.ident; [INFO] [stdout] 12 | | [INFO] [stdout] ... | [INFO] [stdout] 101 | | Data::Union(_enum_data) => panic!("unions unsupported"), [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 103 | panic!() [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_name` is never used [INFO] [stdout] --> something-dev-tools/src/item_name.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn item_name(parser: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling casey v0.4.0 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> something-dev-tools/src/parse_tokens.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 9 | / match derive.data { [INFO] [stdout] 10 | | Data::Enum(enum_data) => { [INFO] [stdout] 11 | | let name = derive.ident; [INFO] [stdout] 12 | | [INFO] [stdout] ... | [INFO] [stdout] 101 | | Data::Union(_enum_data) => panic!("unions unsupported"), [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 103 | panic!() [INFO] [stdout] | ^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `item_name` is never used [INFO] [stdout] --> something-dev-tools/src/item_name.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn item_name(parser: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v4.3.23 [INFO] [stderr] Checking something-ast v0.1.0 (/opt/rustwide/workdir/something-ast) [INFO] [stdout] error: no rules expected the token `-` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 213 | macro_rules! DefineTokens { [INFO] [stdout] | ------------------------- when calling this macro [INFO] [stdout] ... [INFO] [stdout] 447 | [<-] => LeftArrow, [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `]` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | ([$($keyword:ident),+],[$([$t:tt] => $token:ident),+],[$($misc:ident),+]) => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `-` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 213 | macro_rules! DefineTokens { [INFO] [stdout] | ------------------------- when calling this macro [INFO] [stdout] ... [INFO] [stdout] 447 | [<-] => LeftArrow, [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] note: while trying to match `]` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | ([$($keyword:ident),+],[$([$t:tt] => $token:ident),+],[$($misc:ident),+]) => { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tokenizer::token::Token` [INFO] [stdout] --> something-ast/src/ast/mod.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokenizer::{self, list::List, token::Token, traits::AppendTokens, Parse, TokenStream}; [INFO] [stdout] | ^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `token` [INFO] [stdout] | no `Token` in `tokenizer::token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tokenizer::token::Macros` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tokenizer::token::Macros::Tkn; [INFO] [stdout] | ^^^^^^ could not find `Macros` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tokenizer::prelude::Macros` [INFO] [stdout] --> something-ast/src/ast/declaration/function/return_type.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | prelude::{Macros::Tkn}, [INFO] [stdout] | ^^^^^^ could not find `Macros` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/expression/call.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tokenizer::token::Macros` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) use crate::tokenizer::token::Macros::*; [INFO] [stdout] | ^^^^^^ could not find `Macros` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/expression/if_expr.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/statement/use_stmt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tokenizer::Tkn` [INFO] [stdout] --> something-ast/src/ast/path.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::tokenizer::Tkn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Tkn` in `tokenizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub dollar: Tkn![$], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub colon: Tkn![:], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn_token: Tkn![Fn], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | pub params: Paren>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/function/return_type.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub arrow: Tkn![->], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub let_token: Tkn![Let], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub type_annotation: Option<(Tkn![:], Ident)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub equal: Tkn![=], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub semicolon: Tkn![;], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | let tmp: ParseResult = parser.step(|parser| Parse::parse(parser)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/expression/call.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | pub args: Paren>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/expression/if_expr.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | if_token: Tkn![If], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/path.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | pub segments: Punctuated, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | dbg!(match tokens.parse::>() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | let (_, _): (Punctuated, _) = ast!("a,b,c"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/statement/use_stmt.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub use_token: Tkn![Use], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | Expression((Expression, Tkn![;])), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Return((Tkn![Return], Expression, Tkn![;])), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | Return((Tkn![Return], Expression, Tkn![;])), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tokenizer::token::Token` [INFO] [stdout] --> something-ast/src/ast/mod.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokenizer::{self, list::List, token::Token, traits::AppendTokens, Parse, TokenStream}; [INFO] [stdout] | ^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `token` [INFO] [stdout] | no `Token` in `tokenizer::token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tokenizer::token::Macros` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tokenizer::token::Macros::Tkn; [INFO] [stdout] | ^^^^^^ could not find `Macros` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tokenizer::prelude::Macros` [INFO] [stdout] --> something-ast/src/ast/declaration/function/return_type.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | prelude::{Macros::Tkn}, [INFO] [stdout] | ^^^^^^ could not find `Macros` in `prelude` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/expression/call.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tokenizer::token::Macros` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) use crate::tokenizer::token::Macros::*; [INFO] [stdout] | ^^^^^^ could not find `Macros` in `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/expression/if_expr.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Macros` [INFO] [stdout] --> something-ast/src/ast/statement/use_stmt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use Macros::Tkn; [INFO] [stdout] | ^^^^^^ use of undeclared type `Macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tokenizer::Tkn` [INFO] [stdout] --> something-ast/src/ast/path.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::tokenizer::Tkn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Tkn` in `tokenizer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub dollar: Tkn![$], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub colon: Tkn![:], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn_token: Tkn![Fn], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 16 | pub params: Paren>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/function/return_type.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub arrow: Tkn![->], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub let_token: Tkn![Let], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | pub type_annotation: Option<(Tkn![:], Ident)>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub equal: Tkn![=], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub semicolon: Tkn![;], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | let tmp: ParseResult = parser.step(|parser| Parse::parse(parser)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/expression/call.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | pub args: Paren>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/expression/if_expr.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | if_token: Tkn![If], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/path.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | pub segments: Punctuated, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/statement/use_stmt.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub use_token: Tkn![Use], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | Expression((Expression, Tkn![;])), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Return((Tkn![Return], Expression, Tkn![;])), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `Tkn` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | Return((Tkn![Return], Expression, Tkn![;])), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LeftParen` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub opening: LeftParen, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RightParen` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub closing: RightParen, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LeftBrace` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub opening: LeftBrace, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RightBrace` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | pub closing: RightBrace, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LeftBracket` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | pub opening: LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RightBracket` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub closing: RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Comma` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/call.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | let args: Paren> = Paren::parse(parser)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `core::ascii::Char::Comma` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 22 | let args: Paren> = Paren::parse(parser)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 22 | let args: Paren> = Paren::parse(parser)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | impl Call { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | fn from_token(left: Expression, op: Token, right: Expression) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | pub token: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:254:11 [INFO] [stdout] | [INFO] [stdout] 254 | impl From for Operator { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | impl From for Operator { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | fn from(value: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | impl From for OperatorKind { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 262 | impl From for OperatorKind { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | fn from(token: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Semicolon` in this scope [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Semicolon { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::ascii::Char::Semicolon; [INFO] [stdout] | [INFO] [stdout] 2 + use std::ascii::Char::Semicolon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Semicolon` in this scope [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | parser.step::(|parser| Parse::parse(parser))? [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `core::ascii::Char::Semicolon` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 37 | parser.step::(|parser| Parse::parse(parser))? [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 37 | parser.step::(|parser| Parse::parse(parser))? [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | impl Parse for Statement { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn ExpectedEnd(token: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn ExpectedToken(expected: Token, got: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn ExpectedToken(expected: Token, got: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | ExpectedEnd(Token), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub expected: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenStream(pub Vec, pub usize); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenStream(pub Vec, pub usize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LeftParen` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub opening: LeftParen, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenStream(pub Vec, pub usize); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenStream(pub Vec, pub usize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RightParen` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub closing: RightParen, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LeftBrace` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub opening: LeftBrace, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RightBrace` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | pub closing: RightBrace, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | type Target = Vec; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LeftBracket` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | pub opening: LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RightBracket` in this scope [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | pub closing: RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Comma` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/call.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | let args: Paren> = Paren::parse(parser)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `core::ascii::Char::Comma` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 22 | let args: Paren> = Paren::parse(parser)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 22 | let args: Paren> = Paren::parse(parser)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | impl Call { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | fn from_token(left: Expression, op: Token, right: Expression) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | pub token: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | type Output = Token; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:254:11 [INFO] [stdout] | [INFO] [stdout] 254 | impl From for Operator { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | impl From for Operator { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | fn from(value: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | impl From for OperatorKind { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 262 | impl From for OperatorKind { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | impl From> for TokenStream { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | impl From> for TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | fn from(token: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(tokens: Vec) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | impl From> for TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Comma` in this scope [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | let (ast, _): (OmitTrailing, _) = ast!("a, b, c,"); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `core::ascii::Char::Comma` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 68 | let (ast, _): (OmitTrailing, _) = ast!("a, b, c,"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 68 | let (ast, _): (OmitTrailing, _) = ast!("a, b, c,"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn failure() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | type Item = Token; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Semicolon` in this scope [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Semicolon { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::ascii::Char::Semicolon; [INFO] [stdout] | [INFO] [stdout] 2 + use std::ascii::Char::Semicolon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Semicolon` in this scope [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | parser.step::(|parser| Parse::parse(parser))? [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `core::ascii::Char::Semicolon` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 37 | parser.step::(|parser| Parse::parse(parser))? [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] 37 | parser.step::(|parser| Parse::parse(parser))? [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 28 | impl Parse for Statement { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn ExpectedEnd(token: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn ExpectedToken(expected: Token, got: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn try_advance(&mut self, target: Token) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:54:48 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn ExpectedToken(expected: Token, got: Token) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | ExpectedEnd(Token), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/error/mod.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | pub expected: Token, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:63:65 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn try_advance(&mut self, target: Token) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenStream(pub Vec, pub usize); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenStream(pub Vec, pub usize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenStream(pub Vec, pub usize); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenStream(pub Vec, pub usize); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | type Target = Vec; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl Deref for TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn previous(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | type Output = Token; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | impl From> for TokenStream { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | impl From> for TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:86:40 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn previous1(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(tokens: Vec) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | impl From> for TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | type Item = Token; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn previous2(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn try_advance(&mut self, target: Token) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:63:65 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn try_advance(&mut self, target: Token) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn previous3(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn previous(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:86:40 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn previous1(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn previous2(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:107:44 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get(&self, i: usize) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn previous3(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:107:44 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get(&self, i: usize) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_mut(&mut self, i: usize) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:110:56 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_mut(&mut self, i: usize) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn first(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn last(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn first(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn iter(&self) -> std::slice::Iter<'_, Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn last(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:126:47 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn advance(&mut self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn peek(&self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:119:59 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:140:52 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn peek_n(&self, n: usize) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:147:41 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn peek1(&self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn iter(&self) -> std::slice::Iter<'_, Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn peek2(&self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn peek3(&self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:458:6 [INFO] [stdout] | [INFO] [stdout] 458 | impl Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:126:47 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn advance(&mut self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | fn next_token(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a, Token> Tokenizer<'a> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Eof` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | return Ok(create_token!(self, Eof)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let tmp: Token = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `If` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::Expression::If; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::if_expr::If; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Let` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `While` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:65 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Return` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:72 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::statement::Statement::Return; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `For` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:80 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found trait `Fn` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ not a struct, variant or union type [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Use` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:89 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::ast::statement::use_stmt::Use` exists but is inaccessible [INFO] [stdout] --> something-ast/src/ast/statement/use_stmt.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Use { [INFO] [stdout] | ^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EqualEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | create_token!(self, EqualEqual) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::EqualEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Equal` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | create_token!(self, Equal) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::cmp::Ordering::Equal; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Equal; [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering::Equal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GreaterEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | create_token!(self, GreaterEqual) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::GreaterEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Greater` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | create_token!(self, Greater) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::cmp::Ordering::Greater; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Greater; [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering::Greater; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn peek(&self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LessEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 119 | create_token!(self, LessEqual) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::LessEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LeftArrow` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | create_token!(self, LeftArrow) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Less` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | create_token!(self, Less) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::cmp::Ordering::Less; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Less; [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering::Less; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:140:52 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn peek_n(&self, n: usize) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Semicolon` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | ';' => Ok(create_token!(self, Semicolon)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ascii::Char::Semicolon; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ascii::Char::Semicolon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LeftParen` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | '(' => Ok(create_token!(self, LeftParen no struct)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RightParen` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | ')' => Ok(create_token!(self, RightParen no struct)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:147:41 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn peek1(&self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LeftBrace` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:128:43 [INFO] [stdout] | [INFO] [stdout] 128 | '{' => Ok(create_token!(self, LeftBrace no struct)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RightBrace` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:129:43 [INFO] [stdout] | [INFO] [stdout] 129 | '}' => Ok(create_token!(self, RightBrace no struct)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LeftBracket` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | '[' => Ok(create_token!(self, LeftBracket no struct)), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RightBracket` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | ']' => Ok(create_token!(self, RightBracket no struct)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Comma` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 132 | ',' => Ok(create_token!(self, Comma)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ascii::Char::Comma; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ascii::Char::Comma; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found derive macro `Hash` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ not a struct, variant or union type [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | '#' => Ok(create_token!(self, Hash)), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colon` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | ':' => Ok(create_token!(self, Colon)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ascii::Char::Colon; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ascii::Char::Colon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn peek2(&self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PlusEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:137:44 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(create_token!(self, PlusEqual)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::PlusEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Plus` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(create_token!(self, Plus)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Plus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RightArrow` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(create_token!(self, RightArrow)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MinusEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(create_token!(self, MinusEqual)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::MinusEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Minus` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | Ok(create_token!(self, Minus)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StarEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | Ok(create_token!(self, StarEqual)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Star` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:155:44 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(create_token!(self, Star)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SlashEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(create_token!(self, SlashEqual)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Slash` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | Ok(create_token!(self, Slash)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Whitespace` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(create_token!(self, Whitespace)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Whitespace` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:170:62 [INFO] [stdout] | [INFO] [stdout] 170 | x if x.is_whitespace() => Ok(create_token!(self, Whitespace)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn peek3(&self) -> ParseResult<&Token> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 62 | impl TokenStream { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:458:6 [INFO] [stdout] | [INFO] [stdout] 458 | impl Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_common::devprintln` [INFO] [stdout] --> something-ast/src/ast/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use something_common::devprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `__attribute::*` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use __attribute::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/function/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | let (function_declaration, _): (Declaration, _) = ast!( [INFO] [stdout] | _______________________________________________________- [INFO] [stdout] 24 | | "fn x(number x, number y) { [INFO] [stdout] 25 | | let z: number = y + x; [INFO] [stdout] 26 | | } -> void" [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 87 | fn next_token(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 60 | impl<'a, Token> Tokenizer<'a> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Eof` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | return Ok(create_token!(self, Eof)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let tmp: Token = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `If` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::Expression::If; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::if_expr::If; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Let` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:60 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `While` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:65 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Return` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:72 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::statement::Statement::Return; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `For` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:80 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found trait `Fn` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ not a struct, variant or union type [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Use` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:89 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: struct `crate::ast::statement::use_stmt::Use` exists but is inaccessible [INFO] [stdout] --> something-ast/src/ast/statement/use_stmt.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Use { [INFO] [stdout] | ^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EqualEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | create_token!(self, EqualEqual) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::EqualEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Equal` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | create_token!(self, Equal) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::cmp::Ordering::Equal; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Equal; [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering::Equal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GreaterEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | create_token!(self, GreaterEqual) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::GreaterEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Greater` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | create_token!(self, Greater) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::cmp::Ordering::Greater; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Greater; [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering::Greater; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LessEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 119 | create_token!(self, LessEqual) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::LessEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LeftArrow` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | create_token!(self, LeftArrow) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Less` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | create_token!(self, Less) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::cmp::Ordering::Less; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Less; [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering::Less; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Semicolon` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | ';' => Ok(create_token!(self, Semicolon)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ascii::Char::Semicolon; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ascii::Char::Semicolon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LeftParen` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | '(' => Ok(create_token!(self, LeftParen no struct)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RightParen` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | ')' => Ok(create_token!(self, RightParen no struct)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LeftBrace` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:128:43 [INFO] [stdout] | [INFO] [stdout] 128 | '{' => Ok(create_token!(self, LeftBrace no struct)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RightBrace` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:129:43 [INFO] [stdout] | [INFO] [stdout] 129 | '}' => Ok(create_token!(self, RightBrace no struct)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LeftBracket` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | '[' => Ok(create_token!(self, LeftBracket no struct)), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RightBracket` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | ']' => Ok(create_token!(self, RightBracket no struct)), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `__functiondeclaration::*` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use __functiondeclaration::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/declaration/var.rs:88:51 [INFO] [stdout] | [INFO] [stdout] 88 | let (var_decl, _): (VariableDeclaration, _) = crate::ast!("let a = 1;"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::prelude::*` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Comma` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 132 | ',' => Ok(create_token!(self, Comma)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ascii::Char::Comma; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ascii::Char::Comma; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/path.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | let (path, _): (Path, _) = ast!("standard:io:print"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer::prelude::*` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::tokenizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/omited_trailing.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | let (ast, _): (OmitTrailing, _) = ast!("a, b, c,"); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error::Error` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found derive macro `Hash` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ not a struct, variant or union type [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | '#' => Ok(create_token!(self, Hash)), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/punctuated/mod.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 139 | let (_, _): (Punctuated, _) = ast!("a,b,c"); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `$crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | use $crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/ast/statement/use_stmt.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | let (_, _): (Use, _) = ast!("use standard:io:print"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::path::var` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::path::var; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ast::expression::Expression, parser}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseTokens` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use something_dev_tools::{item_name, ParseTokens, ParseTokensDisplay}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Colon` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | ':' => Ok(create_token!(self, Colon)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ascii::Char::Colon; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ascii::Char::Colon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-ast/src/error/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PlusEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:137:44 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(create_token!(self, PlusEqual)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::PlusEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> something-ast/src/error/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-ast/src/error/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | use std::{any, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Plus` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(create_token!(self, Plus)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Plus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RightArrow` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:144:44 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(create_token!(self, RightArrow)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `casey::lower` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use casey::lower; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MinusEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:146:44 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(create_token!(self, MinusEqual)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::MinusEqual; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Minus` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | Ok(create_token!(self, Minus)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::num::flt2dec::Sign::Minus; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::ast::prelude::OperatorKind::Minus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StarEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | Ok(create_token!(self, StarEqual)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `define_token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | macro_rules! define_token { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Star` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:155:44 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(create_token!(self, Star)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ident::*` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | use super::ident::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SlashEqual` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(create_token!(self, SlashEqual)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Slash` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | Ok(create_token!(self, Slash)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Whitespace` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:168:40 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(create_token!(self, Whitespace)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Whitespace` in this scope [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:170:62 [INFO] [stdout] | [INFO] [stdout] 170 | x if x.is_whitespace() => Ok(create_token!(self, Whitespace)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `idents` should have an upper camel case name [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | type idents = (Ident, Ident, Ident, Ident, Ident, Ident); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Idents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `something_common::devprintln` [INFO] [stdout] --> something-ast/src/ast/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use something_common::devprintln; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `__attribute::*` [INFO] [stdout] --> something-ast/src/ast/attribute.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use __attribute::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `__functiondeclaration::*` [INFO] [stdout] --> something-ast/src/ast/declaration/function/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use __functiondeclaration::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::prelude::*` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::Parser` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer::prelude::*` [INFO] [stdout] --> something-ast/src/ast/punctuated/omited_trailing.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::tokenizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ast, tokenizer::prelude::*}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error::Error` [INFO] [stdout] --> something-ast/src/ast/punctuated/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::path::var` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ast::path::var; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ast::expression::Expression, parser}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseTokens` [INFO] [stdout] --> something-ast/src/ast/statement/mod.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use something_dev_tools::{item_name, ParseTokens, ParseTokensDisplay}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-ast/src/error/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> something-ast/src/error/mod.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> something-ast/src/error/mod.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | use std::{any, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `casey::lower` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use casey::lower; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Formatter` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `define_token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | macro_rules! define_token { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ident::*` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | use super::ident::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use crate::ast; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::prelude::*` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use crate::ast::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer::prelude::*` [INFO] [stdout] --> something-ast/src/tokenizer/traits.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use crate::tokenizer::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | expected: Token::Let(_), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | expected: Token::Let(_), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | expected: Token::Fn(_), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | ... if let Token::Semicolon(_) = parser.peek()? { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(Token::$variant(_)) = parser.peek() { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let Token::$variant(tmp) = parser.advance()?.clone() else { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(Token::$variant(_)) = parser.peek() { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let Token::$variant(tmp) = parser.advance()?.clone() else { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(Token::$variant(_)) = parser.peek() { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let Token::$variant(tmp) = parser.advance()?.clone() else { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | Token::Lit(literal) => Ok(Expression::Lit(literal)), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | Token::Ident(ident) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | while peek_matches!(self, Token::Star(_) | Token::Slash(_)) { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | while peek_matches!(self, Token::Star(_) | Token::Slash(_)) { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | while peek_matches!(parser, Token::Plus(_) | Token::Minus(_)) { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | while peek_matches!(parser, Token::Plus(_) | Token::Minus(_)) { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | Token::Plus(_) => Self::Plus, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | Token::Minus(_) => Self::Minus, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | Token::Star(_) => Self::Multiply, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | Token::Slash(_) => Self::Divide, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | Token::EqualEqual(_) => Self::EqualEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | Token::Equal(_) => Self::Equal, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | Token::Greater(_) => Self::Greater, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | Token::Less(_) => Self::Less, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | Token::GreaterEqual(_) => Self::GreaterEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | Token::LessEqual(_) => Self::LessEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | Token::PlusEqual(_) => Self::PlusEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | Token::MinusEqual(_) => Self::MinusEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | Token::StarEqual(_) => Self::MultiplyEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Token::SlashEqual(_) => Self::DivideEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | Token::BangEqual(_) => Self::NotEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/error/mod.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | &Token::Eof(Default::default()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/error/mod.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | Self::create(&Token::Eof(Default::default()), ParseErrorKind::EndOfTokens) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/error/mod.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &Token::Eof(Default::default()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/ident.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | tokens.push(Token::Ident(self.clone())); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/ident.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | if let Token::Ident(token) = token { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/ident.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | Token::Ident(Ident::default()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/lit.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | tokens.push(Token::Lit(self.clone())); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/lit.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | if let Token::Lit(token) = token { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/lit.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | Token::Lit(Literal::default()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | Token::RightParen { .. } | Token::RightBrace { .. } | Token::RightBracket { .. } [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:462:40 [INFO] [stdout] | [INFO] [stdout] 462 | Token::RightParen { .. } | Token::RightBrace { .. } | Token::RightBracket { .. } [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:462:67 [INFO] [stdout] | [INFO] [stdout] 462 | Token::RightParen { .. } | Token::RightBrace { .. } | Token::RightBracket { .. } [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | Token::Eof(_) => break, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | Token::Whitespace(_) => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/declaration/mod.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | expected: Token::Fn(_), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/declaration/var.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | ... if let Token::Semicolon(_) = parser.peek()? { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(Token::$variant(_)) = parser.peek() { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let Token::$variant(tmp) = parser.advance()?.clone() else { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 108 | gen_impl!(Paren, LeftParen); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(Token::$variant(_)) = parser.peek() { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | return Ok(create_token!(self, Eof)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let Token::$variant(tmp) = parser.advance()?.clone() else { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 109 | gen_impl!(Brace, LeftBrace); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | if let Ok(Token::$variant(_)) = parser.peek() { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/delimiter.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let Token::$variant(tmp) = parser.advance()?.clone() else { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] ... [INFO] [stdout] 110 | gen_impl!(Bracket, LeftBracket); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | "false" => return Ok(Token::Lit(Literal::new_bool(ident.span, true))), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | Token::Lit(literal) => Ok(Expression::Lit(literal)), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | Token::Ident(ident) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | while peek_matches!(self, Token::Star(_) | Token::Slash(_)) { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | while peek_matches!(self, Token::Star(_) | Token::Slash(_)) { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | while peek_matches!(parser, Token::Plus(_) | Token::Minus(_)) { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | while peek_matches!(parser, Token::Plus(_) | Token::Minus(_)) { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | Token::Plus(_) => Self::Plus, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | Token::Minus(_) => Self::Minus, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | Token::Star(_) => Self::Multiply, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | Token::Slash(_) => Self::Divide, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | Token::EqualEqual(_) => Self::EqualEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | Token::Equal(_) => Self::Equal, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | Token::Greater(_) => Self::Greater, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | Token::Less(_) => Self::Less, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | Token::GreaterEqual(_) => Self::GreaterEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | "true" => return Ok(Token::Lit(Literal::new_bool(ident.span, true))), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | Token::LessEqual(_) => Self::LessEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | Token::PlusEqual(_) => Self::PlusEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | Token::MinusEqual(_) => Self::MinusEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | Token::StarEqual(_) => Self::MultiplyEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Token::SlashEqual(_) => Self::DivideEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/ast/expression/mod.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | Token::BangEqual(_) => Self::NotEqual, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/error/mod.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | &Token::Eof(Default::default()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/error/mod.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | Self::create(&Token::Eof(Default::default()), ParseErrorKind::EndOfTokens) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/error/mod.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &Token::Eof(Default::default()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/ident.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | tokens.push(Token::Ident(self.clone())); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/ident.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | if let Token::Ident(token) = token { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/ident.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | Token::Ident(Ident::default()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/lit.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | tokens.push(Token::Lit(self.clone())); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/lit.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | if let Token::Lit(token) = token { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/lit.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | Token::Lit(Literal::default()), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | Token::RightParen { .. } | Token::RightBrace { .. } | Token::RightBracket { .. } [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:462:40 [INFO] [stdout] | [INFO] [stdout] 462 | Token::RightParen { .. } | Token::RightBrace { .. } | Token::RightBracket { .. } [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:462:67 [INFO] [stdout] | [INFO] [stdout] 462 | Token::RightParen { .. } | Token::RightBrace { .. } | Token::RightBracket { .. } [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | Token::Eof(_) => break, [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | Token::Whitespace(_) => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | return Ok(create_token!(self, Eof)); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | "false" => return Ok(Token::Lit(Literal::new_bool(ident.span, true))), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | "true" => return Ok(Token::Lit(Literal::new_bool(ident.span, true))), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | '0'..='9' => Ok(Token::Lit(self.number()?)), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | '"' => Ok(Token::Lit(self.string()?)), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | create_token!(self, EqualEqual) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | create_token!(self, Equal) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | create_token!(self, GreaterEqual) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` which comes from the expansion of the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | something_dev_tools::tokens_ident!(If, Let, While, Return, For, Fn, Use); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `something_dev_tools::tokens_ident` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | '0'..='9' => Ok(Token::Lit(self.number()?)), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/mod.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | '"' => Ok(Token::Lit(self.string()?)), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | create_token!(self, EqualEqual) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | create_token!(self, Equal) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | create_token!(self, GreaterEqual) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | create_token!(self, Greater) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | create_token!(self, LessEqual) [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | create_token!(self, LeftArrow) [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | create_token!(self, Less) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | ';' => Ok(create_token!(self, Semicolon)), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | '(' => Ok(create_token!(self, LeftParen no struct)), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | ')' => Ok(create_token!(self, RightParen no struct)), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | '{' => Ok(create_token!(self, LeftBrace no struct)), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | '}' => Ok(create_token!(self, RightBrace no struct)), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | '[' => Ok(create_token!(self, LeftBracket no struct)), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | ']' => Ok(create_token!(self, RightBracket no struct)), [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | ',' => Ok(create_token!(self, Comma)), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | create_token!(self, Greater) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | create_token!(self, LessEqual) [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | create_token!(self, LeftArrow) [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | create_token!(self, Less) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | '#' => Ok(create_token!(self, Hash)), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | ';' => Ok(create_token!(self, Semicolon)), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | '(' => Ok(create_token!(self, LeftParen no struct)), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | ':' => Ok(create_token!(self, Colon)), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | ')' => Ok(create_token!(self, RightParen no struct)), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | '{' => Ok(create_token!(self, LeftBrace no struct)), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(create_token!(self, PlusEqual)) [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | '}' => Ok(create_token!(self, RightBrace no struct)), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(create_token!(self, Plus)) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | '[' => Ok(create_token!(self, LeftBracket no struct)), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | Token::$name($name { span: span![$self.starting, $self.current, $self.line, $self.line_current], }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | ']' => Ok(create_token!(self, RightBracket no struct)), [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(create_token!(self, RightArrow)) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | ',' => Ok(create_token!(self, Comma)), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | '#' => Ok(create_token!(self, Hash)), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(create_token!(self, MinusEqual)) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | ':' => Ok(create_token!(self, Colon)), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(create_token!(self, PlusEqual)) [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | Ok(create_token!(self, Minus)) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(create_token!(self, Plus)) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | Ok(create_token!(self, StarEqual)) [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(create_token!(self, RightArrow)) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(create_token!(self, Star)) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(create_token!(self, MinusEqual)) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(create_token!(self, SlashEqual)) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | Ok(create_token!(self, Minus)) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | Ok(create_token!(self, StarEqual)) [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(create_token!(self, Star)) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(create_token!(self, SlashEqual)) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | Ok(create_token!(self, Slash)) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(create_token!(self, Whitespace)) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 170 | x if x.is_whitespace() => Ok(create_token!(self, Whitespace)), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 203 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0574. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | Ok(create_token!(self, Slash)) [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(create_token!(self, Whitespace)) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> something-ast/src/tokenizer/token.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | Token::$name($name { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] ::: something-ast/src/tokenizer/mod.rs:170:42 [INFO] [stdout] | [INFO] [stdout] 170 | x if x.is_whitespace() => Ok(create_token!(self, Whitespace)), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 200 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0574. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `something-ast` (lib test) due to 204 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `something-ast` (lib) due to 201 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e73944ec6cb6bc01442842c53599bc2b914e819f0591e8484c7b6b85ee97106c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e73944ec6cb6bc01442842c53599bc2b914e819f0591e8484c7b6b85ee97106c", kill_on_drop: false }` [INFO] [stdout] e73944ec6cb6bc01442842c53599bc2b914e819f0591e8484c7b6b85ee97106c