[INFO] cloning repository https://github.com/shika-blyat/mini-functional-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shika-blyat/mini-functional-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshika-blyat%2Fmini-functional-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshika-blyat%2Fmini-functional-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fee8b8f16c9824ccb2846bf760ad89073f45bac3 [INFO] checking shika-blyat/mini-functional-lang against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshika-blyat%2Fmini-functional-lang" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shika-blyat/mini-functional-lang on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shika-blyat/mini-functional-lang [INFO] finished tweaking git repo https://github.com/shika-blyat/mini-functional-lang [INFO] tweaked toml for git repo https://github.com/shika-blyat/mini-functional-lang written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/shika-blyat/mini-functional-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.11.5 [INFO] [stderr] Downloaded beef v0.4.4 [INFO] [stderr] Downloaded logos v0.11.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8c841f5ac62757ec075d0e53b85abf0f24db7e725a2fc1189fddb7c3b8aad50 [INFO] running `Command { std: "docker" "start" "-a" "e8c841f5ac62757ec075d0e53b85abf0f24db7e725a2fc1189fddb7c3b8aad50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8c841f5ac62757ec075d0e53b85abf0f24db7e725a2fc1189fddb7c3b8aad50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c841f5ac62757ec075d0e53b85abf0f24db7e725a2fc1189fddb7c3b8aad50", kill_on_drop: false }` [INFO] [stdout] e8c841f5ac62757ec075d0e53b85abf0f24db7e725a2fc1189fddb7c3b8aad50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2ad673d2590457912918a77fffdcbf0b82003f848e82431f71f22d2b079c8b4d [INFO] running `Command { std: "docker" "start" "-a" "2ad673d2590457912918a77fffdcbf0b82003f848e82431f71f22d2b079c8b4d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking mini-ml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BinOperator`, `FuncDecl`, `UnOperator` [INFO] [stdout] --> src/parser.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ast::{BinOperator, Expr, FuncDecl, Literal, Spanned, UnOperator}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinOperator`, `FuncDecl`, `UnOperator` [INFO] [stdout] --> src/parser.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ast::{BinOperator, Expr, FuncDecl, Literal, Spanned, UnOperator}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Span` [INFO] [stdout] --> src/ast.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Span = Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BoxedSpannedExpr` [INFO] [stdout] --> src/ast.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | type BoxedSpannedExpr<'a> = Spanned>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Ident` [INFO] [stdout] --> src/ast.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type Ident<'a> = &'a str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Spanned` [INFO] [stdout] --> src/ast.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Spanned { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FuncDecl` [INFO] [stdout] --> src/ast.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FuncDecl<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Expr` [INFO] [stdout] --> src/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `BinOperator` [INFO] [stdout] --> src/ast.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum BinOperator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `UnOperator` [INFO] [stdout] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum UnOperator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Literal` [INFO] [stdout] --> src/ast.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Literal<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Error` [INFO] [stdout] --> src/errors.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Error<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ErrReason` [INFO] [stdout] --> src/errors.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ErrReason<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SpannedTok` [INFO] [stdout] --> src/parser.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | type SpannedTok<'a> = (Token<'a>, Range); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ParseResult` [INFO] [stdout] --> src/parser.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | type ParseResult<'a, T> = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SpannedExpr` [INFO] [stdout] --> src/parser.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type SpannedExpr<'a> = Spanned>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(tokens: SpannedIter<'a, Token<'a>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number` [INFO] [stdout] --> src/parser.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn number(&mut self) -> ParseResult<'a, SpannedExpr<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bool` [INFO] [stdout] --> src/parser.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn bool(&mut self) -> ParseResult<'a, SpannedExpr<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `string` [INFO] [stdout] --> src/parser.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn string(&mut self) -> ParseResult<'a, SpannedExpr<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `identifier` [INFO] [stdout] --> src/parser.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn identifier(&mut self) -> ParseResult<'a, SpannedExpr<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/parser.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parser.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn peek(&mut self) -> Option<&'_ SpannedTok<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_ident` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | token!(token_ident, Token::Identifier(_), "an identifier literal"); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_string` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | token!(token_string, Token::Str(_), "a string literal"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_number` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | token!(token_number, Token::Num(_), "a number literal"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_bool` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | token!(token_bool, Token::Bool(_), "a bool literal"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `data` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | token!(data, Token::Data, "a data token"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `if_` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | token!(if_, Token::If, "an if token"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | token!(then, Token::Then, "a then token"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `else_` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | token!(else_, Token::Else, "an else token"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | token!(union, Token::Union, "an union token"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equal` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | token!(equal, Token::Equal, "an equal token"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rparen` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | token!(rparen, Token::RParen, "a right parenthesis"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lparen` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | token!(lparen, Token::LParen, "a left parenthesis"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rbrace` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | token!(rbrace, Token::RBrace, "a right brace"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lbrace` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | token!(lbrace, Token::LBrace, "a left brace"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Span` [INFO] [stdout] --> src/ast.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Span = Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BoxedSpannedExpr` [INFO] [stdout] --> src/ast.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | type BoxedSpannedExpr<'a> = Spanned>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Ident` [INFO] [stdout] --> src/ast.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type Ident<'a> = &'a str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Spanned` [INFO] [stdout] --> src/ast.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Spanned { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FuncDecl` [INFO] [stdout] --> src/ast.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FuncDecl<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Expr` [INFO] [stdout] --> src/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `BinOperator` [INFO] [stdout] --> src/ast.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum BinOperator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `UnOperator` [INFO] [stdout] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum UnOperator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Literal` [INFO] [stdout] --> src/ast.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Literal<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Error` [INFO] [stdout] --> src/errors.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Error<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ErrReason` [INFO] [stdout] --> src/errors.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ErrReason<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SpannedTok` [INFO] [stdout] --> src/parser.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | type SpannedTok<'a> = (Token<'a>, Range); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ParseResult` [INFO] [stdout] --> src/parser.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | type ParseResult<'a, T> = Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SpannedExpr` [INFO] [stdout] --> src/parser.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type SpannedExpr<'a> = Spanned>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(tokens: SpannedIter<'a, Token<'a>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number` [INFO] [stdout] --> src/parser.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn number(&mut self) -> ParseResult<'a, SpannedExpr<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bool` [INFO] [stdout] --> src/parser.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn bool(&mut self) -> ParseResult<'a, SpannedExpr<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `string` [INFO] [stdout] --> src/parser.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn string(&mut self) -> ParseResult<'a, SpannedExpr<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `identifier` [INFO] [stdout] --> src/parser.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn identifier(&mut self) -> ParseResult<'a, SpannedExpr<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/parser.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parser.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn peek(&mut self) -> Option<&'_ SpannedTok<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_ident` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | token!(token_ident, Token::Identifier(_), "an identifier literal"); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_string` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | token!(token_string, Token::Str(_), "a string literal"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_number` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | token!(token_number, Token::Num(_), "a number literal"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_bool` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | token!(token_bool, Token::Bool(_), "a bool literal"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `data` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | token!(data, Token::Data, "a data token"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `if_` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | token!(if_, Token::If, "an if token"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | token!(then, Token::Then, "a then token"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `else_` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | token!(else_, Token::Else, "an else token"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | token!(union, Token::Union, "an union token"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equal` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | token!(equal, Token::Equal, "an equal token"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rparen` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | token!(rparen, Token::RParen, "a right parenthesis"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lparen` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | token!(lparen, Token::LParen, "a left parenthesis"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rbrace` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | token!(rbrace, Token::RBrace, "a right brace"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lbrace` [INFO] [stdout] --> src/parser.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | fn $name(&mut self) -> ParseResult<'a, SpannedTok<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | token!(lbrace, Token::LBrace, "a left brace"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.56s [INFO] running `Command { std: "docker" "inspect" "2ad673d2590457912918a77fffdcbf0b82003f848e82431f71f22d2b079c8b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad673d2590457912918a77fffdcbf0b82003f848e82431f71f22d2b079c8b4d", kill_on_drop: false }` [INFO] [stdout] 2ad673d2590457912918a77fffdcbf0b82003f848e82431f71f22d2b079c8b4d