[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foberblastmeister%2Fmonkey" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oberblastmeister/monkey on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smol_str v0.1.17 [INFO] [stderr] Downloaded text-size v1.1.0 [INFO] [stderr] Downloaded xshell-macros v0.1.9 [INFO] [stderr] Downloaded xshell v0.1.9 [INFO] [stderr] Downloaded la-arena v0.2.0 [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded dtoa v0.4.7 [INFO] [stderr] Downloaded trybuild v1.0.42 [INFO] [stderr] Downloaded console v0.14.0 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded similar v1.3.0 [INFO] [stderr] Downloaded rustyline v7.1.0 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded libc v0.2.87 [INFO] [stderr] Downloaded insta v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c256874ce7f901a2cc68d47cc0a275be39e453c2fb067427be3ced5d7be942a2 [INFO] running `Command { std: "docker" "start" "-a" "c256874ce7f901a2cc68d47cc0a275be39e453c2fb067427be3ced5d7be942a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c256874ce7f901a2cc68d47cc0a275be39e453c2fb067427be3ced5d7be942a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c256874ce7f901a2cc68d47cc0a275be39e453c2fb067427be3ced5d7be942a2", kill_on_drop: false }` [INFO] [stdout] c256874ce7f901a2cc68d47cc0a275be39e453c2fb067427be3ced5d7be942a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eb3187b2376e74d63d42ba801a218fb80a03bc05896348f4eedf008ca63a927 [INFO] running `Command { std: "docker" "start" "-a" "2eb3187b2376e74d63d42ba801a218fb80a03bc05896348f4eedf008ca63a927", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking la-arena v0.2.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking smol_str v0.1.17 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking text-size v1.1.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking similar v1.3.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling xshell-macros v0.1.9 [INFO] [stderr] Checking heck v0.3.2 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking xshell v0.1.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking rustyline v7.1.0 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking monkey-util v0.1.0 (/opt/rustwide/workdir/crates/monkey-util) [INFO] [stderr] Checking clap v3.0.0-beta.2 [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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `actual` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse_error.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | ExpectedEof { actual: &'static str }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse_error.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse_error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | kind: ParseErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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)]` (part of `#[warn(unused)]`) 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_json v1.0.64 [INFO] [stderr] Checking serde_yaml v0.8.17 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Checking insta v1.7.0 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> xtask/src/codegen.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | fn iter(&self) -> slice::Iter<'_, TokenGen> { [INFO] [stdout] | +++ [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> xtask/src/codegen.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `actual` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse_error.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | ExpectedEof { actual: &'static str }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse_error.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `kind` is never read [INFO] [stdout] --> crates/monkey-lang/src/parsing/parse_error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | kind: ParseErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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)]` (part of `#[warn(unused)]`) 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 19.63s [INFO] running `Command { std: "docker" "inspect" "2eb3187b2376e74d63d42ba801a218fb80a03bc05896348f4eedf008ca63a927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eb3187b2376e74d63d42ba801a218fb80a03bc05896348f4eedf008ca63a927", kill_on_drop: false }` [INFO] [stdout] 2eb3187b2376e74d63d42ba801a218fb80a03bc05896348f4eedf008ca63a927