[INFO] cloning repository https://github.com/oberblastmeister/monkey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oberblastmeister/monkey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foberblastmeister%2Fmonkey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foberblastmeister%2Fmonkey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3324627ebb543c5d00b39907c07a50ec83e2233 [INFO] checking oberblastmeister/monkey against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foberblastmeister%2Fmonkey" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/oberblastmeister/monkey [INFO] finished tweaking git repo https://github.com/oberblastmeister/monkey [INFO] tweaked toml for git repo https://github.com/oberblastmeister/monkey written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oberblastmeister/monkey on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oberblastmeister/monkey 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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xshell-macros v0.1.9 [INFO] [stderr] Downloaded la-arena v0.2.0 [INFO] [stderr] Downloaded smol_str v0.1.17 [INFO] [stderr] Downloaded xshell v0.1.9 [INFO] [stderr] Downloaded rustyline v7.1.0 [INFO] [stderr] Downloaded trybuild v1.0.42 [INFO] [stderr] Downloaded insta v1.7.0 [INFO] [stderr] Downloaded libc v0.2.87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3870919379659abdca11db1f74dfef58d01f74feb0bc822e41ca766738ce780 [INFO] running `Command { std: "docker" "start" "-a" "c3870919379659abdca11db1f74dfef58d01f74feb0bc822e41ca766738ce780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3870919379659abdca11db1f74dfef58d01f74feb0bc822e41ca766738ce780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3870919379659abdca11db1f74dfef58d01f74feb0bc822e41ca766738ce780", kill_on_drop: false }` [INFO] [stdout] c3870919379659abdca11db1f74dfef58d01f74feb0bc822e41ca766738ce780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c0979847fae140b023961cc5e08fdb079e89fc52ec0883badd6d340a1aa7f38 [INFO] running `Command { std: "docker" "start" "-a" "0c0979847fae140b023961cc5e08fdb079e89fc52ec0883badd6d340a1aa7f38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking la-arena v0.2.0 [INFO] [stderr] Checking text-size v1.1.0 [INFO] [stderr] Checking smol_str v0.1.17 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking similar v1.3.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling xshell-macros v0.1.9 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking xshell v0.1.9 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking rustyline v7.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking monkey-macros v0.1.0 (/opt/rustwide/workdir/crates/monkey-macros) [INFO] [stdout] warning: unused imports: `Ident` and `Span` [INFO] [stdout] --> crates/monkey-macros/src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro2::{Ident, Span, TokenStream}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stdout] warning: unused imports: `Ident` and `Span` [INFO] [stdout] --> crates/monkey-macros/src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro2::{Ident, Span, TokenStream}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking monkey-util v0.1.0 (/opt/rustwide/workdir/crates/monkey-util) [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking monkey-lang v0.1.0 (/opt/rustwide/workdir/crates/monkey-lang) [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> crates/monkey-lang/src/ast/lit_num.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Parse, ParseError, ParseResult, Parser, Peek, Peeker}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseResult` and `Parse` [INFO] [stdout] --> crates/monkey-lang/src/ast/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | use crate::{Parse, ParseError, ParseResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EvalResult`, `Eval`, `Value`, and `ast` [INFO] [stdout] --> crates/monkey-lang/src/evaluating/eval/file.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::{ast, Eval, EvalResult, Value}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EvalErrorKind` [INFO] [stdout] --> crates/monkey-lang/src/evaluating/mod.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub use eval_error::{EvalError, EvalErrorKind, EvalResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextSize` [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use text_size::{TextRange, TextSize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> crates/monkey-lang/src/parsing/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `la_arena::Arena` [INFO] [stdout] --> crates/monkey-lang/src/parsing/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use la_arena::Arena; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ShrinkToFit` [INFO] [stdout] --> crates/monkey-lang/src/parsing/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ShrinkToFit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> crates/monkey-lang/src/ast/lit_num.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let token = &num.token; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `errors` and `node` are never read [INFO] [stdout] --> crates/monkey-lang/src/ast/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Ast

{ [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 88 | arena: Arena, [INFO] [stdout] 89 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | node: P, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParamList` is never constructed [INFO] [stdout] --> crates/monkey-lang/src/ast/lit_fn.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ParamList [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalErrorKind` is never used [INFO] [stdout] --> crates/monkey-lang/src/evaluating/eval_error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum EvalErrorKind {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Source<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | input: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Source` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `accept`, `peek_n`, and `text` are never used [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Source<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn accept(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn peek_n(&self, n: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn text(&mut self) -> SmolStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword` is never used [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | fn keyword(text: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parser.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 66 | peeker: Peeker<'a>, [INFO] [stdout] 67 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking monkey-cli v0.1.0 (/opt/rustwide/workdir/crates/monkey-cli) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking insta v1.7.0 [INFO] [stderr] Checking xtask v0.1.0 (/opt/rustwide/workdir/xtask) [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> xtask/src/codegen.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Deref, path::Path, slice, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `trick_rust_analyzer_into_highlighting_interpolated_bits` [INFO] [stdout] --> xtask/src/codegen.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | let stdout = cmd!("rustfmt").stdin(text).read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `cmd` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `cmd` may come from an old version of the `xshell` crate, try updating your dependency with `cargo update -p xshell` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> xtask/src/codegen.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Deref, path::Path, slice, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `trick_rust_analyzer_into_highlighting_interpolated_bits` [INFO] [stdout] --> xtask/src/codegen.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | let stdout = cmd!("rustfmt").stdin(text).read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `cmd` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `cmd` may come from an old version of the `xshell` crate, try updating your dependency with `cargo update -p xshell` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword_token_gens` [INFO] [stdout] --> xtask/src/codegen.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let keyword_token_gens = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword_token_gens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword_token_gens` [INFO] [stdout] --> xtask/src/codegen.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let keyword_token_gens = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword_token_gens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> xtask/src/codegen.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | fn iter(&self) -> slice::Iter<'_, TokenGen> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> xtask/src/codegen.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | fn iter(&self) -> slice::Iter<'_, TokenGen> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `Span` [INFO] [stdout] --> crates/monkey-macros/src/lib.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use proc_macro2::{Ident, Span, TokenStream}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> crates/monkey-lang/src/ast/lit_num.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Parse, ParseError, ParseResult, Parser, Peek, Peeker}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseResult` and `Parse` [INFO] [stdout] --> crates/monkey-lang/src/ast/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | use crate::{Parse, ParseError, ParseResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EvalResult`, `Eval`, `Value`, and `ast` [INFO] [stdout] --> crates/monkey-lang/src/evaluating/eval/file.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::{ast, Eval, EvalResult, Value}; [INFO] [stdout] | ^^^ ^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EvalErrorKind` [INFO] [stdout] --> crates/monkey-lang/src/evaluating/mod.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub use eval_error::{EvalError, EvalErrorKind, EvalResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextSize` [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use text_size::{TextRange, TextSize}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> crates/monkey-lang/src/parsing/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `la_arena::Arena` [INFO] [stdout] --> crates/monkey-lang/src/parsing/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use la_arena::Arena; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ShrinkToFit` [INFO] [stdout] --> crates/monkey-lang/src/parsing/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ShrinkToFit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> crates/monkey-lang/src/ast/lit_num.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let token = &num.token; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `errors` and `node` are never read [INFO] [stdout] --> crates/monkey-lang/src/ast/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Ast

{ [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 88 | arena: Arena, [INFO] [stdout] 89 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | node: P, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParamList` is never constructed [INFO] [stdout] --> crates/monkey-lang/src/ast/lit_fn.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ParamList [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvalErrorKind` is never used [INFO] [stdout] --> crates/monkey-lang/src/evaluating/eval_error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum EvalErrorKind {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Source<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | input: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Source` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `accept`, `peek_n`, and `text` are never used [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Source<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn accept(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn peek_n(&self, n: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn text(&mut self) -> SmolStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyword` is never used [INFO] [stdout] --> crates/monkey-lang/src/parsing/lexer.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | fn keyword(text: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first` and `second` are never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 85 | struct It { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 86 | first: T![return], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | second: T![let], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parser.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 66 | peeker: Peeker<'a>, [INFO] [stdout] 67 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_tokens_success` is never used [INFO] [stdout] --> crates/monkey-lang/src/parsing/tests.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn assert_tokens_success(res: Vec>, path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Parse)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Parse` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_crate_Parse_FOR_It` and up 2 bodies [INFO] [stdout] 85 | struct It { [INFO] [stdout] | -- `It` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Parse` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Parse` may come from an old version of the `monkey_macros` crate, try updating your dependency with `cargo update -p monkey_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/monkey-lang/src/spanned.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Spanned)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Spanned` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_crate_spanned_Spanned_FOR_It` and up 2 bodies [INFO] [stdout] 25 | struct It { [INFO] [stdout] | -- `It` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Spanned` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Spanned` may come from an old version of the `monkey_macros` crate, try updating your dependency with `cargo update -p monkey_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Spanned` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.16s [INFO] running `Command { std: "docker" "inspect" "0c0979847fae140b023961cc5e08fdb079e89fc52ec0883badd6d340a1aa7f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0979847fae140b023961cc5e08fdb079e89fc52ec0883badd6d340a1aa7f38", kill_on_drop: false }` [INFO] [stdout] 0c0979847fae140b023961cc5e08fdb079e89fc52ec0883badd6d340a1aa7f38