[INFO] cloning repository https://github.com/Jordise2002/monkey-interpreter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jordise2002/monkey-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordise2002%2Fmonkey-interpreter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordise2002%2Fmonkey-interpreter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5827d635cfeb06d78f460ef7d4898b090b55d2fb
[INFO] testing Jordise2002/monkey-interpreter against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJordise2002%2Fmonkey-interpreter" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Jordise2002/monkey-interpreter
[INFO] finished tweaking git repo https://github.com/Jordise2002/monkey-interpreter
[INFO] tweaked toml for git repo https://github.com/Jordise2002/monkey-interpreter written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jordise2002/monkey-interpreter on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Jordise2002/monkey-interpreter 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strum v0.25.0
[INFO] [stderr]   Downloaded phf v0.11.2
[INFO] [stderr]   Downloaded phf_shared v0.11.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.63
[INFO] [stderr]   Downloaded phf_generator v0.11.2
[INFO] [stderr]   Downloaded strum_macros v0.25.1
[INFO] [stderr]   Downloaded siphasher v0.3.10
[INFO] [stderr]   Downloaded num-derive v0.4.1
[INFO] [stderr]   Downloaded quote v1.0.29
[INFO] [stderr]   Downloaded phf_macros v0.11.2
[INFO] [stderr]   Downloaded rustversion v1.0.13
[INFO] [stderr]   Downloaded syn v2.0.23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb67d30be8bbb541733f9cbabc2796da640e6dc646ba8b5bdd776a426b99ceae
[INFO] running `Command { std: "docker" "start" "-a" "eb67d30be8bbb541733f9cbabc2796da640e6dc646ba8b5bdd776a426b99ceae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb67d30be8bbb541733f9cbabc2796da640e6dc646ba8b5bdd776a426b99ceae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb67d30be8bbb541733f9cbabc2796da640e6dc646ba8b5bdd776a426b99ceae", kill_on_drop: false }`
[INFO] [stdout] eb67d30be8bbb541733f9cbabc2796da640e6dc646ba8b5bdd776a426b99ceae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 49ebe780b99d6d32964f72a9ea946c4f3fb54347d62ffed900709817d411e9c8
[INFO] running `Command { std: "docker" "start" "-a" "49ebe780b99d6d32964f72a9ea946c4f3fb54347d62ffed900709817d411e9c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.63
[INFO] [stderr]    Compiling quote v1.0.29
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustversion v1.0.13
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling syn v2.0.23
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]    Compiling num-derive v0.4.1
[INFO] [stderr]    Compiling strum_macros v0.25.1
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling monkey-interpreter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BuiltInFn`
[INFO] [stdout]  --> src/builtins.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::object::{BuiltInFn, Object};
[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: `self`
[INFO] [stdout]  --> src/compiler.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::symbol_table::{self, SymbolScope, SymbolTable};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::main`
[INFO] [stdout]  --> src/vm.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::main;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CompiledFunction`
[INFO] [stdout]  --> src/vm.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::object::Object::{BooleanObject, CompiledFunction, IntegerObject};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::linux::raw::stat`
[INFO] [stdout]   --> src/vm.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::linux::raw::stat;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::raw::off_t`
[INFO] [stdout]   --> src/vm.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::unix::raw::off_t;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
[INFO] [stdout]   --> src/vm.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::linux::raw::stat;
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::off_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
[INFO] [stdout]   --> src/vm.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::unix::raw::off_t;
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/code.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/code.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |        Opcode::OpConstant => {
[INFO] [stdout]     |        ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 118 |         Opcode::OpAdd => {
[INFO] [stdout]     |         ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 121 |         Opcode::OpPop => {
[INFO] [stdout]     |         ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 124 |         Opcode::OpDiv => {
[INFO] [stdout]     |         ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 202 |         _ => {
[INFO] [stdout]     |         ^ ...and 25 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/compiler.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/compiler.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Node::Program(prog) =>
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 80 |             Node::StatementBlock(stmt_block) => {
[INFO] [stdout]    |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 86 |             Node::Statement(stmt) =>
[INFO] [stdout]    |             --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 90 |             Node::Expression(expr) => {
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 93 |             _ => {
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/compiler.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/compiler.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Statement::LetStatement(id, expr) => {
[INFO] [stdout]     |             --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 161 |             Statement::ExpressionStatement(expr) =>
[INFO] [stdout]     |             ------------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 166 |             Statement::ReturnStatement(expr) =>
[INFO] [stdout]     |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 171 |             _ => {
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `free_vars`
[INFO] [stdout]    --> src/vm.rs:321:25
[INFO] [stdout]     |
[INFO] [stdout] 321 |                     let free_vars = cursor.read_u8().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_free_vars`
[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 `ip` is never read
[INFO] [stdout]    --> src/vm.rs:303:22
[INFO] [stdout]     |
[INFO] [stdout] 303 |         let mut ip = 0;
[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: function `join_instructions` is never used
[INFO] [stdout]    --> src/code.rs:238:8
[INFO] [stdout]     |
[INFO] [stdout] 238 | pub fn join_instructions(instructions: Vec<Instructions>) -> Instructions {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compiler.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Compiler {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 33 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GLOBAL_SIZE` is never used
[INFO] [stdout]   --> src/vm.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const GLOBAL_SIZE: usize = 65536;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_stack_top` is never used
[INFO] [stdout]   --> src/vm.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Vm {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn get_stack_top(&self) -> Option<Object> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/object.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, PartialEq, Clone,IntoStaticStr)]
[INFO] [stdout]    |                 --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 17 |     BuiltIn(BuiltInFn),
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[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]   --> src/code.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Clone, Debug, PartialEq, FromPrimitive)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode`
[INFO] [stdout] 75 | pub enum Opcode {
[INFO] [stdout]    |          ------ `Opcode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 `FromPrimitive` (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 9.87s
[INFO] running `Command { std: "docker" "inspect" "49ebe780b99d6d32964f72a9ea946c4f3fb54347d62ffed900709817d411e9c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49ebe780b99d6d32964f72a9ea946c4f3fb54347d62ffed900709817d411e9c8", kill_on_drop: false }`
[INFO] [stdout] 49ebe780b99d6d32964f72a9ea946c4f3fb54347d62ffed900709817d411e9c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a3371fa4b6e635aec88b4fcb4f184cbdb0000f45771bdf550c16769f6e27196a
[INFO] running `Command { std: "docker" "start" "-a" "a3371fa4b6e635aec88b4fcb4f184cbdb0000f45771bdf550c16769f6e27196a", kill_on_drop: false }`
[INFO] [stderr]    Compiling monkey-interpreter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BuiltInFn`
[INFO] [stdout]  --> src/builtins.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::object::{BuiltInFn, Object};
[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: `self`
[INFO] [stdout]  --> src/compiler.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::symbol_table::{self, SymbolScope, SymbolTable};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::main`
[INFO] [stdout]  --> src/vm.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::main;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CompiledFunction`
[INFO] [stdout]  --> src/vm.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::object::Object::{BooleanObject, CompiledFunction, IntegerObject};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::linux::raw::stat`
[INFO] [stdout]   --> src/vm.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::linux::raw::stat;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::raw::off_t`
[INFO] [stdout]   --> src/vm.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::unix::raw::off_t;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SymbolScope`
[INFO] [stdout]  --> src/test_symbol_table.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::symbol_table::{Symbol, SymbolScope, SymbolTable};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
[INFO] [stdout]   --> src/vm.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::os::linux::raw::stat;
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::off_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
[INFO] [stdout]   --> src/vm.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::os::unix::raw::off_t;
[INFO] [stdout]    |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/code.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 202 |         _ => {
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/code.rs:202:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |        Opcode::OpConstant => {
[INFO] [stdout]     |        ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 118 |         Opcode::OpAdd => {
[INFO] [stdout]     |         ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 121 |         Opcode::OpPop => {
[INFO] [stdout]     |         ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 124 |         Opcode::OpDiv => {
[INFO] [stdout]     |         ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 202 |         _ => {
[INFO] [stdout]     |         ^ ...and 25 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/compiler.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             _ => {
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/compiler.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Node::Program(prog) =>
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 80 |             Node::StatementBlock(stmt_block) => {
[INFO] [stdout]    |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 86 |             Node::Statement(stmt) =>
[INFO] [stdout]    |             --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 90 |             Node::Expression(expr) => {
[INFO] [stdout]    |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 93 |             _ => {
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/compiler.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/compiler.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 147 |             Statement::LetStatement(id, expr) => {
[INFO] [stdout]     |             --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 161 |             Statement::ExpressionStatement(expr) =>
[INFO] [stdout]     |             ------------------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 166 |             Statement::ReturnStatement(expr) =>
[INFO] [stdout]     |             -------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 171 |             _ => {
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `free_vars`
[INFO] [stdout]    --> src/vm.rs:321:25
[INFO] [stdout]     |
[INFO] [stdout] 321 |                     let free_vars = cursor.read_u8().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_free_vars`
[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 `ip` is never read
[INFO] [stdout]    --> src/vm.rs:303:22
[INFO] [stdout]     |
[INFO] [stdout] 303 |         let mut ip = 0;
[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: variant `BooleanInput` is never constructed
[INFO] [stdout]    --> src/test_parser.rs:281:5
[INFO] [stdout]     |
[INFO] [stdout] 278 | enum ValueType {
[INFO] [stdout]     |      --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 281 |     BooleanInput(bool)
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GLOBAL_SIZE` is never used
[INFO] [stdout]   --> src/vm.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const GLOBAL_SIZE: usize = 65536;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_stack_top` is never used
[INFO] [stdout]   --> src/vm.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Vm {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn get_stack_top(&self) -> Option<Object> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/object.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug, PartialEq, Clone,IntoStaticStr)]
[INFO] [stdout]    |                 --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 17 |     BuiltIn(BuiltInFn),
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[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]   --> src/code.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 | #[derive(Clone, Debug, PartialEq, FromPrimitive)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode`
[INFO] [stdout] 75 | pub enum Opcode {
[INFO] [stdout]    |          ------ `Opcode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s
[INFO] running `Command { std: "docker" "inspect" "a3371fa4b6e635aec88b4fcb4f184cbdb0000f45771bdf550c16769f6e27196a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3371fa4b6e635aec88b4fcb4f184cbdb0000f45771bdf550c16769f6e27196a", kill_on_drop: false }`
[INFO] [stdout] a3371fa4b6e635aec88b4fcb4f184cbdb0000f45771bdf550c16769f6e27196a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7c17301e00c0ad0430fd6b6878024f01a83052242f49f402dbbd325f5e597df1
[INFO] running `Command { std: "docker" "start" "-a" "7c17301e00c0ad0430fd6b6878024f01a83052242f49f402dbbd325f5e597df1", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `BuiltInFn`
[INFO] [stderr]  --> src/builtins.rs:1:21
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::object::{BuiltInFn, Object};
[INFO] [stderr]   |                     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/compiler.rs:8:27
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::symbol_table::{self, SymbolScope, SymbolTable};
[INFO] [stderr]   |                           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::main`
[INFO] [stderr]  --> src/vm.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::main;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `CompiledFunction`
[INFO] [stderr]  --> src/vm.rs:6:44
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::object::Object::{BooleanObject, CompiledFunction, IntegerObject};
[INFO] [stderr]   |                                            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::os::linux::raw::stat`
[INFO] [stderr]   --> src/vm.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::os::linux::raw::stat;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::os::unix::raw::off_t`
[INFO] [stderr]   --> src/vm.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::os::unix::raw::off_t;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SymbolScope`
[INFO] [stderr]  --> src/test_symbol_table.rs:2:35
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::symbol_table::{Symbol, SymbolScope, SymbolTable};
[INFO] [stderr]   |                                   ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
[INFO] [stderr]   --> src/vm.rs:13:26
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::os::linux::raw::stat;
[INFO] [stderr]    |                          ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated type alias `std::os::unix::raw::off_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
[INFO] [stderr]   --> src/vm.rs:14:25
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::os::unix::raw::off_t;
[INFO] [stderr]    |                         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/code.rs:202:9
[INFO] [stderr]     |
[INFO] [stderr] 202 |         _ => {
[INFO] [stderr]     |         ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/code.rs:202:9
[INFO] [stderr]     |
[INFO] [stderr] 115 |        Opcode::OpConstant => {
[INFO] [stderr]     |        ------------------ matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 118 |         Opcode::OpAdd => {
[INFO] [stderr]     |         ------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 121 |         Opcode::OpPop => {
[INFO] [stderr]     |         ------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 124 |         Opcode::OpDiv => {
[INFO] [stderr]     |         ------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 202 |         _ => {
[INFO] [stderr]     |         ^ ...and 25 other patterns collectively make this unreachable
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/compiler.rs:93:13
[INFO] [stderr]    |
[INFO] [stderr] 93 |             _ => {
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/compiler.rs:93:13
[INFO] [stderr]    |
[INFO] [stderr] 73 |             Node::Program(prog) =>
[INFO] [stderr]    |             ------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 80 |             Node::StatementBlock(stmt_block) => {
[INFO] [stderr]    |             -------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 86 |             Node::Statement(stmt) =>
[INFO] [stderr]    |             --------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 90 |             Node::Expression(expr) => {
[INFO] [stderr]    |             ---------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 93 |             _ => {
[INFO] [stderr]    |             ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/compiler.rs:171:13
[INFO] [stderr]     |
[INFO] [stderr] 171 |             _ => {
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/compiler.rs:171:13
[INFO] [stderr]     |
[INFO] [stderr] 147 |             Statement::LetStatement(id, expr) => {
[INFO] [stderr]     |             --------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 161 |             Statement::ExpressionStatement(expr) =>
[INFO] [stderr]     |             ------------------------------------ matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 166 |             Statement::ReturnStatement(expr) =>
[INFO] [stderr]     |             -------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 171 |             _ => {
[INFO] [stderr]     |             ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `free_vars`
[INFO] [stderr]    --> src/vm.rs:321:25
[INFO] [stderr]     |
[INFO] [stderr] 321 |                     let free_vars = cursor.read_u8().unwrap();
[INFO] [stderr]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_free_vars`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `ip` is never read
[INFO] [stderr]    --> src/vm.rs:303:22
[INFO] [stderr]     |
[INFO] [stderr] 303 |         let mut ip = 0;
[INFO] [stderr]     |                      ^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `BooleanInput` is never constructed
[INFO] [stderr]    --> src/test_parser.rs:281:5
[INFO] [stderr]     |
[INFO] [stderr] 278 | enum ValueType {
[INFO] [stderr]     |      --------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 281 |     BooleanInput(bool)
[INFO] [stderr]     |     ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `GLOBAL_SIZE` is never used
[INFO] [stderr]   --> src/vm.rs:17:7
[INFO] [stderr]    |
[INFO] [stderr] 17 | const GLOBAL_SIZE: usize = 65536;
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_stack_top` is never used
[INFO] [stderr]   --> src/vm.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 52 | impl Vm {
[INFO] [stderr]    | ------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 80 |     pub fn get_stack_top(&self) -> Option<Object> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stderr]   --> src/object.rs:17:13
[INFO] [stderr]    |
[INFO] [stderr]  8 | #[derive(Debug, PartialEq, Clone,IntoStaticStr)]
[INFO] [stderr]    |                 --------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 17 |     BuiltIn(BuiltInFn),
[INFO] [stderr]    |             ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the address of the same function can vary between different codegen units
[INFO] [stderr]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stderr]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stderr]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/code.rs:74:35
[INFO] [stderr]    |
[INFO] [stderr] 74 | #[derive(Clone, Debug, PartialEq, FromPrimitive)]
[INFO] [stderr]    |                                   ^------------
[INFO] [stderr]    |                                   |
[INFO] [stderr]    |                                   `FromPrimitive` is not local
[INFO] [stderr]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode`
[INFO] [stderr] 75 | pub enum Opcode {
[INFO] [stderr]    |          ------ `Opcode` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = 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] [stderr]    = 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] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `monkey-interpreter` (bin "monkey-interpreter" test) generated 19 warnings (run `cargo fix --bin "monkey-interpreter" -p monkey-interpreter --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monkey_interpreter-d5b2322afc76705e)
[INFO] [stdout] 
[INFO] [stdout] running 63 tests
[INFO] [stdout] test test_code::test_op_add ... ok
[INFO] [stdout] test test_code::test_make ... ok
[INFO] [stdout] test test_compiler::test_array_expr ... ok
[INFO] [stdout] test test_code::test_print_code ... ok
[INFO] [stdout] test test_compiler::test_function_calls ... ok
[INFO] [stdout] test test_compiler::test_boolean_arithmetic ... ok
[INFO] [stdout] test test_compiler::test_builtins ... ok
[INFO] [stdout] test test_compiler::test_conditionals ... ok
[INFO] [stdout] test test_compiler::test_hash_expr ... ok
[INFO] [stdout] test test_compiler::test_index_expressions ... ok
[INFO] [stdout] test test_compiler::test_variables ... ok
[INFO] [stdout] test test_evaluator::test_bang_operator ... ok
[INFO] [stdout] test test_evaluator::test_boolean_expr ... ok
[INFO] [stdout] test test_evaluator::test_errors ... ok
[INFO] [stdout] test test_evaluator::test_eval_integer_expr ... ok
[INFO] [stdout] test test_evaluator::test_function_object ... ok
[INFO] [stdout] test test_evaluator::test_if_else_expr ... ok
[INFO] [stdout] test test_evaluator::test_function_application ... ok
[INFO] [stdout] test test_evaluator::test_return_expression ... ok
[INFO] [stdout] test test_parser::hash_string ... ok
[INFO] [stdout] test test_parser::test_booleans ... ok
[INFO] [stdout] test test_parser::test_hash_literal ... ok
[INFO] [stdout] test test_parser::test_identifier_expression ... ok
[INFO] [stdout] test test_parser::test_if_expression ... ok
[INFO] [stdout] test test_parser::test_index_literal ... ok
[INFO] [stdout] test test_parser::test_infixes ... ok
[INFO] [stdout] test test_parser::test_integer_literals ... ok
[INFO] [stdout] test test_parser::test_lexer ... ok
[INFO] [stdout] test test_parser::test_lexer2 ... ok
[INFO] [stdout] test test_compiler::test_functions ... ok
[INFO] [stdout] test test_compiler::test_integer_arithmetic ... ok
[INFO] [stdout] test test_parser::test_lexer3 ... ok
[INFO] [stdout] test test_compiler::test_let_statement_scopes ... ok
[INFO] [stdout] test test_compiler::test_scopes ... ok
[INFO] [stdout] test test_parser::test_parser ... ok
[INFO] [stdout] test test_parser::test_call_expression ... ok
[INFO] [stdout] test test_compiler::test_string_expressions ... ok
[INFO] [stdout] test test_parser::test_complex_expr ... ok
[INFO] [stdout] test test_parser::test_fn_expression ... ok
[INFO] [stdout] test test_evaluator::test_len_function ... ok
[INFO] [stdout] test test_parser::test_parsing_infix_expr ... ok
[INFO] [stdout] test test_parser::test_parsing_prefix_expr ... ok
[INFO] [stdout] test test_parser::test_array_literal ... ok
[INFO] [stdout] test test_evaluator::test_let_statements ... ok
[INFO] [stdout] test test_parser::test_group_expressions ... ok
[INFO] [stdout] test test_symbol_table::test_resolve ... ok
[INFO] [stdout] test test_parser::test_return_statements ... ok
[INFO] [stdout] test test_symbol_table::test_resolve_local ... ok
[INFO] [stdout] test test_symbol_table::test_define ... ok
[INFO] [stdout] test test_vm::test_function_without_return ... ok
[INFO] [stdout] test test_vm::test_array_expr ... ok
[INFO] [stdout] test test_vm::test_global_let_statements ... ok
[INFO] [stdout] test test_vm::test_built_in_fn ... ok
[INFO] [stdout] test test_vm::test_boolean_arithmetic ... ok
[INFO] [stdout] test test_vm::test_hash_expr ... ok
[INFO] [stdout] test test_vm::test_function_without_params ... ok
[INFO] [stdout] test test_vm::test_index_expression ... ok
[INFO] [stdout] test test_vm::test_integer_arithmetic ... ok
[INFO] [stdout] test test_vm::test_conditionals ... ok
[INFO] [stdout] test test_vm::test_string_expressions ... ok
[INFO] [stdout] test test_vm::test_local_bindings ... ok
[INFO] [stdout] test test_vm::test_calling_functions_with_args ... ok
[INFO] [stdout] test test_compiler::test_closures ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_compiler::test_closures stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_compiler::test_closures' (30) panicked at src/test_compiler.rs:71:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: CompiledFunction(CompiledFunctionStruct { instructions: Instructions { content: [25, 0, 25, 0, 1, 22] }, num_vars: 1, num_args: 1 })
[INFO] [stdout]  right: CompiledFunction(CompiledFunctionStruct { instructions: Instructions { content: [28, 0, 25, 0, 1, 22] }, num_vars: 1, num_args: 1 })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6212e5b57a92 - std::backtrace_rs::backtrace::libunwind::trace::hff358a60abf734fc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6212e5b57a92 - std::backtrace_rs::backtrace::trace_unsynchronized::h3b121f916dd95ec6
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6212e5b57a92 - std::sys::backtrace::_print_fmt::hde0a62ded68798e9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x6212e5b57a92 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h93773fc827e3113d
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6212e5b67e0a - core::fmt::rt::Argument::fmt::h01eff69902dad97f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6212e5b67e0a - core::fmt::write::hed7b5c73d82ecb7c
[INFO] [stdout]    6:     0x6212e5b267d6 - std::io::default_write_fmt::h2f696ff5b8bbaa4b
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x6212e5b267d6 - std::io::Write::write_fmt::h5e66814db8a9cfce
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6212e5b36f79 - std::sys::backtrace::BacktraceLock::print::h8b1d6fcc5a56d1a3
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6212e5b36f79 - std::panicking::default_hook::{{closure}}::h2be84df4f189ae36
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6212e5b36e11 - std::panicking::default_hook::hf0ea8939246f43a9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6212e5afa86e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h02d35e3888986252
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6212e5afa86e - test::test_main_with_exit_callback::{{closure}}::h939640a27d647173
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6212e5b371f2 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc9df09ff391af3e7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x6212e5b371f2 - std::panicking::panic_with_hook::hb4bd9ac1123582a0
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6212e5b37038 - std::panicking::panic_handler::{{closure}}::hde00dd15f5637fe2
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x6212e5b325c9 - std::sys::backtrace::__rust_end_short_backtrace::hb72197fa777c1785
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6212e5b1b60d - __rustc[4425a7e20b4c8619]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x6212e5b6f8ac - core::panicking::panic_fmt::ha59b517dd231f4da
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6212e5b6f763 - core::panicking::assert_failed_inner::h3c3301979dc81b81
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x6212e5aa4d2f - core::panicking::assert_failed::hfb547e8c7b099785
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x6212e5a60d7c - monkey_interpreter::test_compiler::test_constants::h5af77ed864bf6136
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test_compiler.rs:71:9
[INFO] [stdout]   22:     0x6212e5a6931e - monkey_interpreter::test_compiler::run_compiler_tests::h7cd1cf54d366ddd1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test_compiler.rs:34:9
[INFO] [stdout]   23:     0x6212e5a60a39 - monkey_interpreter::test_compiler::test_closures::haf7bf06bb6b70f33
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test_compiler.rs:786:5
[INFO] [stdout]   24:     0x6212e5a60aa7 - monkey_interpreter::test_compiler::test_closures::{{closure}}::h0b4221b80a8b6db9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test_compiler.rs:688:19
[INFO] [stdout]   25:     0x6212e5ab55f6 - core::ops::function::FnOnce::call_once::h2f87fbbc7fd6e873
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x6212e5afa62b - core::ops::function::FnOnce::call_once::hddb3cd395c36bfbb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x6212e5afa62b - test::__rust_begin_short_backtrace::h0b6a7601d9750bfa
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:663:18
[INFO] [stdout]   28:     0x6212e5b0e03a - test::run_test_in_process::{{closure}}::h444209903f00b347
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:74
[INFO] [stdout]   29:     0x6212e5b0e03a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hfb3ba8f46e537649
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   30:     0x6212e5b0e03a - std::panicking::catch_unwind::do_call::h1672a45911fcf9dc
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   31:     0x6212e5b0e03a - std::panicking::catch_unwind::h0fadaee22787a6dd
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   32:     0x6212e5b0e03a - std::panic::catch_unwind::hc47ad190f2c8e188
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x6212e5b0e03a - test::run_test_in_process::hcd7faaf934f29999
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:27
[INFO] [stdout]   34:     0x6212e5b0e03a - test::run_test::{{closure}}::hddc4550da4871867
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:607:43
[INFO] [stdout]   35:     0x6212e5ae8494 - test::run_test::{{closure}}::h98ae26689f13ed94
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:637:41
[INFO] [stdout]   36:     0x6212e5ae8494 - std::sys::backtrace::__rust_begin_short_backtrace::h3ec4d1f21ad44588
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   37:     0x6212e5aebe32 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd8bf2c73d479939f
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   38:     0x6212e5aebe32 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3b4248f358af2491
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   39:     0x6212e5aebe32 - std::panicking::catch_unwind::do_call::hda10a64f4b8daebe
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stdout]   40:     0x6212e5aebe32 - std::panicking::catch_unwind::h659e5ee8336ec8c7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stdout]   41:     0x6212e5aebe32 - std::panic::catch_unwind::h9d4d66a538912c18
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stdout]   42:     0x6212e5aebe32 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h7557906bb51d79f1
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   43:     0x6212e5aebe32 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9e460d1d7fc83d35
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x6212e5b2d85f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h61282da819d64ea9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   45:     0x6212e5b2d85f - std::sys::thread::unix::Thread::new::thread_start::h982f9ea829d1b5fb
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stdout]   46:     0x79154b103aa4 - <unknown>
[INFO] [stdout]   47:     0x79154b190a64 - clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_compiler::test_closures
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 62 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin monkey-interpreter`
[INFO] running `Command { std: "docker" "inspect" "7c17301e00c0ad0430fd6b6878024f01a83052242f49f402dbbd325f5e597df1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c17301e00c0ad0430fd6b6878024f01a83052242f49f402dbbd325f5e597df1", kill_on_drop: false }`
[INFO] [stdout] 7c17301e00c0ad0430fd6b6878024f01a83052242f49f402dbbd325f5e597df1
