[INFO] cloning repository https://github.com/felix-d/Rust-Monkey-Intepreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felix-d/Rust-Monkey-Intepreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-d%2FRust-Monkey-Intepreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-d%2FRust-Monkey-Intepreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab0be05834178fc064e732297bf71f22733486ec [INFO] checking felix-d/Rust-Monkey-Intepreter against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-d%2FRust-Monkey-Intepreter" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/felix-d/Rust-Monkey-Intepreter [INFO] finished tweaking git repo https://github.com/felix-d/Rust-Monkey-Intepreter [INFO] tweaked toml for git repo https://github.com/felix-d/Rust-Monkey-Intepreter written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/felix-d/Rust-Monkey-Intepreter on toolchain dc375db7d8df0aa450e622c529147c95eee756f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/felix-d/Rust-Monkey-Intepreter 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" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded thread_local v0.3.5 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded aho-corasick v0.6.6 [INFO] [stderr] Downloaded regex v0.2.11 [INFO] [stderr] Downloaded regex-syntax v0.5.6 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b3b339f7b1f550e55d6e721dc13a3c1ca41181e29ea38ae71406bab2c130642e [INFO] running `Command { std: "docker" "start" "b3b339f7b1f550e55d6e721dc13a3c1ca41181e29ea38ae71406bab2c130642e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b3b339f7b1f550e55d6e721dc13a3c1ca41181e29ea38ae71406bab2c130642e" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b339f7b1f550e55d6e721dc13a3c1ca41181e29ea38ae71406bab2c130642e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b3b339f7b1f550e55d6e721dc13a3c1ca41181e29ea38ae71406bab2c130642e" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | 'a'...'z' | 'A'...'Z' | '_' => self.lex_identifier(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | 'a'...'z' | 'A'...'Z' | '_' => self.lex_identifier(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | '0'...'9' => self.lex_integer(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | 'a'...'z' | 'A'...'Z' | '_' => self.lex_identifier(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | 'a'...'z' | 'A'...'Z' | '_' => self.lex_identifier(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | '0'...'9' => self.lex_integer(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/evaluator.rs:478:36 [INFO] [stdout] | [INFO] [stdout] 478 | _ => unreachable!("Got {:?}, but expected Object::Function."), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 478 | _ => unreachable!("Got {:?}, but expected Object::Function.", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 478 | _ => unreachable!("{}", "Got {:?}, but expected Object::Function."), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_let` is never used [INFO] [stdout] --> src/ast.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 87 | impl Statement { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 88 | pub(crate) fn new_let(identifier: &str, value: Expression) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `box_patterns` is declared but not used [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `box_patterns` is declared but not used [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.62s [INFO] running `Command { std: "docker" "inspect" "b3b339f7b1f550e55d6e721dc13a3c1ca41181e29ea38ae71406bab2c130642e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b339f7b1f550e55d6e721dc13a3c1ca41181e29ea38ae71406bab2c130642e", kill_on_drop: false }` [INFO] [stdout] b3b339f7b1f550e55d6e721dc13a3c1ca41181e29ea38ae71406bab2c130642e