[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 try#fc545c6b951a304df08b327c158f92678582f435 for pr-140557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foberblastmeister%2Fmonkey" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/oberblastmeister/monkey on toolchain fc545c6b951a304df08b327c158f92678582f435
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[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" "+fc545c6b951a304df08b327c158f92678582f435" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded la-arena v0.2.0
[INFO] [stderr] Downloaded smol_str v0.1.17
[INFO] [stderr] Downloaded trybuild v1.0.42
[INFO] [stderr] Downloaded xshell-macros v0.1.9
[INFO] [stderr] Downloaded xshell v0.1.9
[INFO] [stderr] Downloaded eyre v0.6.5
[INFO] [stderr] Downloaded console v0.14.0
[INFO] [stderr] Downloaded serde_yaml v0.8.17
[INFO] [stderr] Downloaded dtoa v0.4.7
[INFO] [stderr] Downloaded itertools v0.10.0
[INFO] [stderr] Downloaded similar v1.3.0
[INFO] [stderr] Downloaded insta v1.7.0
[INFO] [stderr] Downloaded syn v1.0.67
[INFO] [stderr] Downloaded rustyline v7.1.0
[INFO] [stderr] Downloaded libc v0.2.87
[INFO] [stderr] Downloaded bstr v0.2.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8b9425897a2ebdfac8ab5593ea402490d913afc8ba6b5076551a16e165b5ecf3
[INFO] running `Command { std: "docker" "start" "-a" "8b9425897a2ebdfac8ab5593ea402490d913afc8ba6b5076551a16e165b5ecf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b9425897a2ebdfac8ab5593ea402490d913afc8ba6b5076551a16e165b5ecf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b9425897a2ebdfac8ab5593ea402490d913afc8ba6b5076551a16e165b5ecf3", kill_on_drop: false }`
[INFO] [stdout] 8b9425897a2ebdfac8ab5593ea402490d913afc8ba6b5076551a16e165b5ecf3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 216525801d8a22bfb89e166c0b2370108b3828eed2e1f62975d0ff1320aa4680
[INFO] running `Command { std: "docker" "start" "-a" "216525801d8a22bfb89e166c0b2370108b3828eed2e1f62975d0ff1320aa4680", 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 log v0.4.14
[INFO] [stderr] Checking once_cell v1.7.2
[INFO] [stderr] Compiling trybuild v1.0.42
[INFO] [stderr] Checking glob v0.3.0
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Checking text-size v1.1.0
[INFO] [stderr] Checking unicode-segmentation v1.7.1
[INFO] [stderr] Checking itertools v0.10.0
[INFO] [stderr] Compiling paste v1.0.5
[INFO] [stderr] Checking regex-syntax v0.6.22
[INFO] [stderr] Checking smol_str v0.1.17
[INFO] [stderr] Checking la-arena v0.2.0
[INFO] [stderr] Checking yaml-rust v0.4.5
[INFO] [stderr] Checking bstr v0.2.15
[INFO] [stderr] Checking unicode-width v0.1.8
[INFO] [stderr] Checking dtoa v0.4.7
[INFO] [stderr] Checking thread_local v1.1.3
[INFO] [stderr] Checking quote v1.0.9
[INFO] [stderr] Checking walkdir v2.3.1
[INFO] [stderr] Compiling eyre v0.6.5
[INFO] [stderr] Checking uuid v0.8.2
[INFO] [stderr] Checking similar v1.3.0
[INFO] [stderr] Checking indexmap v1.6.1
[INFO] [stderr] Checking textwrap v0.12.1
[INFO] [stderr] Checking indenter v0.3.3
[INFO] [stderr] Checking utf8parse v0.2.0
[INFO] [stderr] Checking os_str_bytes v2.4.0
[INFO] [stderr] Compiling xshell-macros v0.1.9
[INFO] [stderr] Checking heck v0.3.2
[INFO] [stderr] Checking xshell v0.1.9
[INFO] [stderr] Checking regex v1.4.3
[INFO] [stderr] Checking terminal_size v0.1.16
[INFO] [stderr] Checking dirs-sys-next v0.1.2
[INFO] [stderr] Checking fs2 v0.4.3
[INFO] [stderr] Checking nix v0.19.1
[INFO] [stderr] Checking atty v0.2.14
[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 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: 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 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: 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: 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 21.50s
[INFO] running `Command { std: "docker" "inspect" "216525801d8a22bfb89e166c0b2370108b3828eed2e1f62975d0ff1320aa4680", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "216525801d8a22bfb89e166c0b2370108b3828eed2e1f62975d0ff1320aa4680", kill_on_drop: false }`
[INFO] [stdout] 216525801d8a22bfb89e166c0b2370108b3828eed2e1f62975d0ff1320aa4680