[INFO] cloning repository https://github.com/mthom26/monkey-lang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mthom26/monkey-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthom26%2Fmonkey-lang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthom26%2Fmonkey-lang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 92289eca2a3216ee6042403ecaf1d63e05e29dc0
[INFO] checking mthom26/monkey-lang against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmthom26%2Fmonkey-lang" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mthom26/monkey-lang
[INFO] finished tweaking git repo https://github.com/mthom26/monkey-lang
[INFO] tweaked toml for git repo https://github.com/mthom26/monkey-lang written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mthom26/monkey-lang on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mthom26/monkey-lang 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustyline v5.0.3
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 71dce8bdac02ef66620266597d768e8f50608e31dbcaead5a6393dbbd2b3ad11
[INFO] running `Command { std: "docker" "start" "-a" "71dce8bdac02ef66620266597d768e8f50608e31dbcaead5a6393dbbd2b3ad11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "71dce8bdac02ef66620266597d768e8f50608e31dbcaead5a6393dbbd2b3ad11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71dce8bdac02ef66620266597d768e8f50608e31dbcaead5a6393dbbd2b3ad11", kill_on_drop: false }`
[INFO] [stdout] 71dce8bdac02ef66620266597d768e8f50608e31dbcaead5a6393dbbd2b3ad11
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e91641bd7149c437f1af50cf7b030ca78ab265c917815050e140acf577adf7d5
[INFO] running `Command { std: "docker" "start" "-a" "e91641bd7149c437f1af50cf7b030ca78ab265c917815050e140acf577adf7d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling bitflags v1.2.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking unicode-segmentation v1.3.0
[INFO] [stderr]     Checking unicode-width v0.1.6
[INFO] [stderr]     Checking utf8parse v0.1.1
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking rustyline v5.0.3
[INFO] [stderr]     Checking monkey-lang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Compiler`
[INFO] [stdout]  --> src/compiler/mod.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use compiler::{ByteCode, Compiler};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OpCode` is never used
[INFO] [stdout]  --> src/compiler/code.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum OpCode {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_op` is never used
[INFO] [stdout]   --> src/compiler/code.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn make_op(opcode: OpCode) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `two_u8_to_usize` is never used
[INFO] [stdout]   --> src/compiler/code.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn two_u8_to_usize(int_one: u8, int_two: u8) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GLOBAL` is never used
[INFO] [stdout]  --> src/compiler/compiler.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const GLOBAL: &str = "GLOBAL";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ByteCode` is never constructed
[INFO] [stdout]   --> src/compiler/compiler.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ByteCode {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compiler/compiler.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ByteCode {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 18 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Compiler` is never constructed
[INFO] [stdout]   --> src/compiler/compiler.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Compiler {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/compiler/compiler.rs:32:12
[INFO] [stdout]     |
[INFO] [stdout] 31  | impl Compiler {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 32  |     pub fn from_source(input: &str) -> ByteCode {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46  |     fn compile_statements(&mut self, ast: Vec<Statement>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63  |     fn compile_expression(&mut self, expr: Expression) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn add_constant(&mut self, object: Object) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     fn add_instruction(&mut self, op_code: OpCode) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn is_last_instruction_pop(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     fn remove_last_pop(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn replace_op(&mut self, pos: usize, opcode: OpCode) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Symbol` is never constructed
[INFO] [stdout]  --> src/compiler/symbol_table.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Symbol {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/compiler/symbol_table.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Symbol {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 9 |     pub fn new(index: u16, scope: String) -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SymbolTable` is never constructed
[INFO] [stdout]   --> src/compiler/symbol_table.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct SymbolTable {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `define`, and `resolve` are never used
[INFO] [stdout]   --> src/compiler/symbol_table.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl SymbolTable {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn define(&mut self, name: String, scope: String) -> u16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn resolve(&self, name: String) -> Option<u16> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STACK_SIZE` is never used
[INFO] [stdout]  --> src/vm.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const STACK_SIZE: usize = 2048;
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GLOBAL_SIZE` is never used
[INFO] [stdout]  --> src/vm.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const GLOBAL_SIZE: usize = 2048; // Setting this too high causes an overflow
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vm` is never constructed
[INFO] [stdout]   --> src/vm.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Vm {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `push`, `pop`, and `print_stack` are never used
[INFO] [stdout]    --> src/vm.rs:19:8
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Vm {
[INFO] [stdout]     | ------- associated items in this implementation
[INFO] [stdout] 19  |     fn new(bytecode: ByteCode) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29  |     fn run(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn push(&mut self, obj: Object) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn pop(&mut self) -> Object {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     fn print_stack(&self, num: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `scope` is never read
[INFO] [stdout]  --> src/compiler/symbol_table.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Symbol {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 4 |     index: u16,
[INFO] [stdout] 5 |     scope: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_stack` is never used
[INFO] [stdout]    --> src/vm.rs:210:8
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Vm {
[INFO] [stdout]     | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 210 |     fn print_stack(&self, num: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.04s
[INFO] running `Command { std: "docker" "inspect" "e91641bd7149c437f1af50cf7b030ca78ab265c917815050e140acf577adf7d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e91641bd7149c437f1af50cf7b030ca78ab265c917815050e140acf577adf7d5", kill_on_drop: false }`
[INFO] [stdout] e91641bd7149c437f1af50cf7b030ca78ab265c917815050e140acf577adf7d5
