[INFO] cloning repository https://github.com/pawanspace/rlox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pawanspace/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawanspace%2Frlox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawanspace%2Frlox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ce0ccc7b564ae3165e510eb3ae3fe143ff6fce6
[INFO] testing pawanspace/rlox against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawanspace%2Frlox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pawanspace/rlox on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pawanspace/rlox
[INFO] finished tweaking git repo https://github.com/pawanspace/rlox
[INFO] tweaked toml for git repo https://github.com/pawanspace/rlox written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/pawanspace/rlox 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b2d80e4ff05f54f97913ea2623b7ff54f10ace304c5156673b9e0bf8e870d93a
[INFO] running `Command { std: "docker" "start" "-a" "b2d80e4ff05f54f97913ea2623b7ff54f10ace304c5156673b9e0bf8e870d93a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2d80e4ff05f54f97913ea2623b7ff54f10ace304c5156673b9e0bf8e870d93a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2d80e4ff05f54f97913ea2623b7ff54f10ace304c5156673b9e0bf8e870d93a", kill_on_drop: false }`
[INFO] [stdout] b2d80e4ff05f54f97913ea2623b7ff54f10ace304c5156673b9e0bf8e870d93a
[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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f941795a66a95f3d736f720ad67e52e43d656ce015d348e024d3bfd8531683f
[INFO] running `Command { std: "docker" "start" "-a" "4f941795a66a95f3d736f720ad67e52e43d656ce015d348e024d3bfd8531683f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling clap_derive v3.2.17
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling clap v3.2.17
[INFO] [stderr]    Compiling rustfix v0.6.1
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/hash_map.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Entry`
[INFO] [stdout]  --> src/vm.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::hash_map::{Table, Entry};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/common.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Value::Obj(obj) => unsafe { obj.is_string() },
[INFO] [stdout]    |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/compiler.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |         | _ => ParseRule {
[INFO] [stdout]     |           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `set_op` is never read
[INFO] [stdout]    --> src/compiler.rs:495:17
[INFO] [stdout]     |
[INFO] [stdout] 495 |         let mut set_op = OpCode::Nil;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `get_op` is never read
[INFO] [stdout]    --> src/compiler.rs:496:17
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let mut get_op = OpCode::Nil;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/debug.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |             Obj::Str(fat_ptr) => unsafe {
[INFO] [stdout]    |                                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/hash_map.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/hash_map.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/memory.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     unsafe { mem::size_of_val(&ptr) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/memory.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     unsafe { std::ptr::eq(ptr, other_ptr) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Repl` is never constructed
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Repl<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init` and `prompt` are never used
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl<'a> Repl<'a> {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 44 |     fn init(vm: &'a mut vm::VM) -> Repl<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn prompt(&mut self, name: &str) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repl` is never used
[INFO] [stdout]   --> src/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn repl() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disassemble_chunk` is never used
[INFO] [stdout]   --> src/chunk.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<'a> Chunk {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub(crate) fn disassemble_chunk(&self, name: &str) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `func_type` is never read
[INFO] [stdout]    --> src/common.rs:181:16
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub(crate) struct Function {
[INFO] [stdout]     |                   -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub(crate) func_type: FunctionType,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Function` is never constructed
[INFO] [stdout]    --> src/common.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub(crate) enum FunctionType {
[INFO] [stdout]     |                 ------------ variant in this enum
[INFO] [stdout] 197 |     Function,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FunctionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Nil` is never constructed
[INFO] [stdout]    --> src/common.rs:207:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub(crate) enum Obj {
[INFO] [stdout]     |                 --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 207 |     Nil,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Obj` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_nil` is never used
[INFO] [stdout]    --> src/common.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl Obj {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn is_nil(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `emit_bytes` is never used
[INFO] [stdout]    --> src/compiler.rs:834:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl<'c> Compiler<'c> {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 834 |     fn emit_bytes(&mut self, byte_1: u8, byte_2: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_mut`, `dump`, and `find_entry_mut` are never used
[INFO] [stdout]    --> src/hash_map.rs:57:19
[INFO] [stdout]     |
[INFO] [stdout] 24  | / impl<T> Table<T>
[INFO] [stdout] 25  | | where
[INFO] [stdout] 26  | |     T: Clone,
[INFO] [stdout] 27  | |     T: Debug,
[INFO] [stdout]     | |_____________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57  |       pub(crate) fn get_mut(&mut self, key: FatPointer) -> Option<&mut T> {
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |       pub(crate) fn dump(&self) {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |       fn find_entry_mut(&mut self, key: &FatPointer) -> Option<&mut Entry<T>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestValue` is never constructed
[INFO] [stdout]    --> src/hash_map.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | struct TestValue {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `allocate_for_value` is never used
[INFO] [stdout]   --> src/memory.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn allocate_for_value<T>(value: T) -> *mut u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/memory.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn add<T>(ptr: *mut u8, value: T) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_of` is never used
[INFO] [stdout]   --> src/memory.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn size_of<T>(ptr: *mut u8) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/memory.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn print<T>(ptr: *mut u8)
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drop` is never used
[INFO] [stdout]   --> src/memory.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn drop<T>(ptr: *mut u8) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/memory.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn get<T>(ptr: *mut T) -> T {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display` is never used
[INFO] [stdout]   --> src/metrics.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) fn display() {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset_stack` and `is_equal` are never used
[INFO] [stdout]    --> src/vm.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl VM {
[INFO] [stdout]     | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn reset_stack(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 541 |     fn is_equal(&self, left: Value, right: Value) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/common.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: `#[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] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/compiler.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/scanner.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, PartialEq, Copy, Clone, FromPrimitive, Hash, Eq)]
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 34 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.87s
[INFO] running `Command { std: "docker" "inspect" "4f941795a66a95f3d736f720ad67e52e43d656ce015d348e024d3bfd8531683f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f941795a66a95f3d736f720ad67e52e43d656ce015d348e024d3bfd8531683f", kill_on_drop: false }`
[INFO] [stdout] 4f941795a66a95f3d736f720ad67e52e43d656ce015d348e024d3bfd8531683f
[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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3dbd8449b83670c47752c4bc90e2229d153a8b2d0449db57a54afa2b4f680fa
[INFO] running `Command { std: "docker" "start" "-a" "c3dbd8449b83670c47752c4bc90e2229d153a8b2d0449db57a54afa2b4f680fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/hash_map.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Entry`
[INFO] [stdout]  --> src/vm.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::hash_map::{Table, Entry};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/common.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Value::Obj(obj) => unsafe { obj.is_string() },
[INFO] [stdout]    |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/compiler.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |         | _ => ParseRule {
[INFO] [stdout]     |           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `set_op` is never read
[INFO] [stdout]    --> src/compiler.rs:495:17
[INFO] [stdout]     |
[INFO] [stdout] 495 |         let mut set_op = OpCode::Nil;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `get_op` is never read
[INFO] [stdout]    --> src/compiler.rs:496:17
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let mut get_op = OpCode::Nil;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/debug.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |             Obj::Str(fat_ptr) => unsafe {
[INFO] [stdout]    |                                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/hash_map.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/hash_map.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/memory.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     unsafe { mem::size_of_val(&ptr) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/memory.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     unsafe { std::ptr::eq(ptr, other_ptr) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Repl` is never constructed
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Repl<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init` and `prompt` are never used
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl<'a> Repl<'a> {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 44 |     fn init(vm: &'a mut vm::VM) -> Repl<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn prompt(&mut self, name: &str) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repl` is never used
[INFO] [stdout]   --> src/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn repl() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disassemble_chunk` is never used
[INFO] [stdout]   --> src/chunk.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<'a> Chunk {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub(crate) fn disassemble_chunk(&self, name: &str) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `func_type` is never read
[INFO] [stdout]    --> src/common.rs:181:16
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub(crate) struct Function {
[INFO] [stdout]     |                   -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub(crate) func_type: FunctionType,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Function` is never constructed
[INFO] [stdout]    --> src/common.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub(crate) enum FunctionType {
[INFO] [stdout]     |                 ------------ variant in this enum
[INFO] [stdout] 197 |     Function,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FunctionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Nil` is never constructed
[INFO] [stdout]    --> src/common.rs:207:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub(crate) enum Obj {
[INFO] [stdout]     |                 --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 207 |     Nil,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Obj` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_nil` is never used
[INFO] [stdout]    --> src/common.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl Obj {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn is_nil(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `emit_bytes` is never used
[INFO] [stdout]    --> src/compiler.rs:834:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl<'c> Compiler<'c> {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 834 |     fn emit_bytes(&mut self, byte_1: u8, byte_2: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dump` is never used
[INFO] [stdout]    --> src/hash_map.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 24  | / impl<T> Table<T>
[INFO] [stdout] 25  | | where
[INFO] [stdout] 26  | |     T: Clone,
[INFO] [stdout] 27  | |     T: Debug,
[INFO] [stdout]     | |_____________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |       pub(crate) fn dump(&self) {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `allocate_for_value` is never used
[INFO] [stdout]   --> src/memory.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn allocate_for_value<T>(value: T) -> *mut u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/memory.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn add<T>(ptr: *mut u8, value: T) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_of` is never used
[INFO] [stdout]   --> src/memory.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn size_of<T>(ptr: *mut u8) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/memory.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn print<T>(ptr: *mut u8)
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drop` is never used
[INFO] [stdout]   --> src/memory.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn drop<T>(ptr: *mut u8) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/memory.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn get<T>(ptr: *mut T) -> T {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display` is never used
[INFO] [stdout]   --> src/metrics.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) fn display() {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset_stack` and `is_equal` are never used
[INFO] [stdout]    --> src/vm.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl VM {
[INFO] [stdout]     | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn reset_stack(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 541 |     fn is_equal(&self, left: Value, right: Value) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/common.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: `#[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] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/compiler.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/scanner.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, PartialEq, Copy, Clone, FromPrimitive, Hash, Eq)]
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s
[INFO] running `Command { std: "docker" "inspect" "c3dbd8449b83670c47752c4bc90e2229d153a8b2d0449db57a54afa2b4f680fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3dbd8449b83670c47752c4bc90e2229d153a8b2d0449db57a54afa2b4f680fa", kill_on_drop: false }`
[INFO] [stdout] c3dbd8449b83670c47752c4bc90e2229d153a8b2d0449db57a54afa2b4f680fa
[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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 70dbc754b5a1f2d84922e1cc661fe31646639bd5970323de00716c7920c10753
[INFO] running `Command { std: "docker" "start" "-a" "70dbc754b5a1f2d84922e1cc661fe31646639bd5970323de00716c7920c10753", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Path`
[INFO] [stderr]  --> src/main.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stderr]  --> src/hash_map.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::borrow::BorrowMut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Entry`
[INFO] [stderr]  --> src/vm.rs:5:30
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::hash_map::{Table, Entry};
[INFO] [stderr]   |                              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/common.rs:75:32
[INFO] [stderr]    |
[INFO] [stderr] 75 |             Value::Obj(obj) => unsafe { obj.is_string() },
[INFO] [stderr]    |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/compiler.rs:126:11
[INFO] [stderr]     |
[INFO] [stderr] 126 |         | _ => ParseRule {
[INFO] [stderr]     |           ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `set_op` is never read
[INFO] [stderr]    --> src/compiler.rs:495:17
[INFO] [stderr]     |
[INFO] [stderr] 495 |         let mut set_op = OpCode::Nil;
[INFO] [stderr]     |                 ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `get_op` is never read
[INFO] [stderr]    --> src/compiler.rs:496:17
[INFO] [stderr]     |
[INFO] [stderr] 496 |         let mut get_op = OpCode::Nil;
[INFO] [stderr]     |                 ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/debug.rs:25:34
[INFO] [stderr]    |
[INFO] [stderr] 25 |             Obj::Str(fat_ptr) => unsafe {
[INFO] [stderr]    |                                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]   --> src/hash_map.rs:52:29
[INFO] [stderr]    |
[INFO] [stderr] 52 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stderr]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]   --> src/hash_map.rs:60:29
[INFO] [stderr]    |
[INFO] [stderr] 60 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stderr]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/memory.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 35 |     unsafe { mem::size_of_val(&ptr) }
[INFO] [stderr]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/memory.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     unsafe { std::ptr::eq(ptr, other_ptr) }
[INFO] [stderr]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Repl` is never constructed
[INFO] [stderr]   --> src/main.rs:39:8
[INFO] [stderr]    |
[INFO] [stderr] 39 | struct Repl<'a> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `init` and `prompt` are never used
[INFO] [stderr]   --> src/main.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 43 | impl<'a> Repl<'a> {
[INFO] [stderr]    | ----------------- associated items in this implementation
[INFO] [stderr] 44 |     fn init(vm: &'a mut vm::VM) -> Repl<'a> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 |     fn prompt(&mut self, name: &str) {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `repl` is never used
[INFO] [stderr]   --> src/main.rs:59:4
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn repl() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `disassemble_chunk` is never used
[INFO] [stderr]   --> src/chunk.rs:55:19
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl<'a> Chunk {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub(crate) fn disassemble_chunk(&self, name: &str) {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `func_type` is never read
[INFO] [stderr]    --> src/common.rs:181:16
[INFO] [stderr]     |
[INFO] [stderr] 177 | pub(crate) struct Function {
[INFO] [stderr]     |                   -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 181 |     pub(crate) func_type: FunctionType,
[INFO] [stderr]     |                ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Function` is never constructed
[INFO] [stderr]    --> src/common.rs:197:5
[INFO] [stderr]     |
[INFO] [stderr] 196 | pub(crate) enum FunctionType {
[INFO] [stderr]     |                 ------------ variant in this enum
[INFO] [stderr] 197 |     Function,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `FunctionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Nil` is never constructed
[INFO] [stderr]    --> src/common.rs:207:5
[INFO] [stderr]     |
[INFO] [stderr] 203 | pub(crate) enum Obj {
[INFO] [stderr]     |                 --- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 207 |     Nil,
[INFO] [stderr]     |     ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Obj` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_nil` is never used
[INFO] [stderr]    --> src/common.rs:217:12
[INFO] [stderr]     |
[INFO] [stderr] 210 | impl Obj {
[INFO] [stderr]     | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 217 |     pub fn is_nil(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `emit_bytes` is never used
[INFO] [stderr]    --> src/compiler.rs:834:8
[INFO] [stderr]     |
[INFO] [stderr] 204 | impl<'c> Compiler<'c> {
[INFO] [stderr]     | --------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 834 |     fn emit_bytes(&mut self, byte_1: u8, byte_2: u8) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `dump` is never used
[INFO] [stderr]    --> src/hash_map.rs:117:19
[INFO] [stderr]     |
[INFO] [stderr] 24  | / impl<T> Table<T>
[INFO] [stderr] 25  | | where
[INFO] [stderr] 26  | |     T: Clone,
[INFO] [stderr] 27  | |     T: Debug,
[INFO] [stderr]     | |_____________- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 117 |       pub(crate) fn dump(&self) {
[INFO] [stderr]     |                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `allocate_for_value` is never used
[INFO] [stderr]   --> src/memory.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub fn allocate_for_value<T>(value: T) -> *mut u8 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `add` is never used
[INFO] [stderr]   --> src/memory.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub fn add<T>(ptr: *mut u8, value: T) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `size_of` is never used
[INFO] [stderr]   --> src/memory.rs:34:8
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub fn size_of<T>(ptr: *mut u8) -> usize {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `print` is never used
[INFO] [stderr]   --> src/memory.rs:42:8
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub fn print<T>(ptr: *mut u8)
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `drop` is never used
[INFO] [stderr]   --> src/memory.rs:51:8
[INFO] [stderr]    |
[INFO] [stderr] 51 | pub fn drop<T>(ptr: *mut u8) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get` is never used
[INFO] [stderr]   --> src/memory.rs:72:8
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub fn get<T>(ptr: *mut T) -> T {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `display` is never used
[INFO] [stderr]   --> src/metrics.rs:26:15
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub(crate) fn display() {
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `reset_stack` and `is_equal` are never used
[INFO] [stderr]    --> src/vm.rs:133:8
[INFO] [stderr]     |
[INFO] [stderr] 111 | impl VM {
[INFO] [stderr]     | ------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 133 |     fn reset_stack(&mut self) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 541 |     fn is_equal(&self, left: Value, right: Value) -> bool {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stderr]   --> src/common.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(FromPrimitive)]
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stderr]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stderr]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: `#[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stderr]   --> src/compiler.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stderr]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stderr]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stderr]  --> src/scanner.rs:4:41
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, PartialEq, Copy, Clone, FromPrimitive, Hash, Eq)]
[INFO] [stderr]   |                                         ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stderr]   = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stderr]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rlox` (bin "rlox" test) generated 33 warnings (run `cargo fix --bin "rlox" --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-c0e2c34a82cc788f)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test hash_map::tests::can_expand_capacity_as_required ... ok
[INFO] [stdout] test hash_map::tests::can_handle_reference ... ok
[INFO] [stdout] test hash_map::tests::can_hold_and_return_multiple_keys ... ok
[INFO] [stdout] test hash_map::tests::can_hold_multiple_keys ... ok
[INFO] [stdout] test hash_map::tests::can_hold_multiple_keys_multiple_tables ... ok
[INFO] [stdout] test hasher::tests::can_calculate_hash ... ok
[INFO] [stdout] test hash_map::tests::can_hold_and_delete_multiple_keys ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- hash_map::tests::can_hold_and_delete_multiple_keys stdout ----
[INFO] [stdout] Entry index: None
[INFO] [stdout] thread 'hash_map::tests::can_hold_and_delete_multiple_keys' panicked at src/hash_map.rs:50:43:
[INFO] [stdout] called `Option::unwrap()` on a `None` value
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x557dce51fd15 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x557dce51fd15 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x557dce51fd15 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x557dce51fd15 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x557dce54655b - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x557dce54655b - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x557dce51d54f - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x557dce51faee - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x557dce51faee - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x557dce521519 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x557dce5211de - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x557dce4eceda - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x557dce4eceda - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x557dce521b1b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x557dce521b1b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x557dce52185b - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:656:13
[INFO] [stdout]   16:     0x557dce5201d9 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x557dce5215c7 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x557dce4b2843 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x557dce4b28ec - core::panicking::panic::hb6a980c1ddfde273
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:146:5
[INFO] [stdout]   20:     0x557dce4b27e9 - core::option::unwrap_failed::h25b2e47d9f5c729d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:1984:5
[INFO] [stdout]   21:     0x557dce4b80e5 - core::option::Option<T>::unwrap::h826b67e28381e43d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/option.rs:932:21
[INFO] [stdout]   22:     0x557dce4b80e5 - rlox::hash_map::Table<T>::get::h7f5e3dc814c45383
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:50:21
[INFO] [stdout]   23:     0x557dce4b5475 - rlox::hash_map::tests::can_hold_and_delete_multiple_keys::h920f103e32b5130b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:273:20
[INFO] [stdout]   24:     0x557dce4b5327 - rlox::hash_map::tests::can_hold_and_delete_multiple_keys::{{closure}}::h2a32e1f74d6655f7
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:264:43
[INFO] [stdout]   25:     0x557dce4b3606 - core::ops::function::FnOnce::call_once::h3df109ea024e788b
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x557dce4f18bb - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x557dce4f18bb - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   28:     0x557dce4f0fc1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   29:     0x557dce4f0fc1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x557dce4f0fc1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x557dce4f0fc1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   32:     0x557dce4f0fc1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   33:     0x557dce4f0fc1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   34:     0x557dce4f0fc1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   35:     0x557dce4b9984 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   36:     0x557dce4b9984 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x557dce4be3b2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x557dce4be3b2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x557dce4be3b2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x557dce4be3b2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   41:     0x557dce4be3b2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   42:     0x557dce4be3b2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   43:     0x557dce4be3b2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x557dce525cfb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   45:     0x557dce525cfb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x557dce525cfb - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   47:     0x7fd45a2a4ac3 - <unknown>
[INFO] [stdout]   48:     0x7fd45a335a04 - __clone
[INFO] [stdout]   49:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     hash_map::tests::can_hold_and_delete_multiple_keys
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rlox`
[INFO] running `Command { std: "docker" "inspect" "70dbc754b5a1f2d84922e1cc661fe31646639bd5970323de00716c7920c10753", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70dbc754b5a1f2d84922e1cc661fe31646639bd5970323de00716c7920c10753", kill_on_drop: false }`
[INFO] [stdout] 70dbc754b5a1f2d84922e1cc661fe31646639bd5970323de00716c7920c10753
[INFO] testing pawanspace/rlox against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawanspace%2Frlox" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pawanspace/rlox on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pawanspace/rlox
[INFO] finished tweaking git repo https://github.com/pawanspace/rlox
[INFO] tweaked toml for git repo https://github.com/pawanspace/rlox written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/pawanspace/rlox 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3310d5b0e5d48f86784532e9d112a5346de9df8c77b25b8dce4b74e1acb70f18
[INFO] running `Command { std: "docker" "start" "-a" "3310d5b0e5d48f86784532e9d112a5346de9df8c77b25b8dce4b74e1acb70f18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3310d5b0e5d48f86784532e9d112a5346de9df8c77b25b8dce4b74e1acb70f18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3310d5b0e5d48f86784532e9d112a5346de9df8c77b25b8dce4b74e1acb70f18", kill_on_drop: false }`
[INFO] [stdout] 3310d5b0e5d48f86784532e9d112a5346de9df8c77b25b8dce4b74e1acb70f18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ca745134dd2e16d9c8ebc74202a73653deb399cb06c3b8e3520d1452998d3d4b
[INFO] running `Command { std: "docker" "start" "-a" "ca745134dd2e16d9c8ebc74202a73653deb399cb06c3b8e3520d1452998d3d4b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling clap_derive v3.2.17
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling clap v3.2.17
[INFO] [stderr]    Compiling rustfix v0.6.1
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/hash_map.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Entry`
[INFO] [stdout]  --> src/vm.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::hash_map::{Table, Entry};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/common.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Value::Obj(obj) => unsafe { obj.is_string() },
[INFO] [stdout]    |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/compiler.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |         | _ => ParseRule {
[INFO] [stdout]     |           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `set_op` is never read
[INFO] [stdout]    --> src/compiler.rs:495:17
[INFO] [stdout]     |
[INFO] [stdout] 495 |         let mut set_op = OpCode::Nil;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `get_op` is never read
[INFO] [stdout]    --> src/compiler.rs:496:17
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let mut get_op = OpCode::Nil;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/debug.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |             Obj::Str(fat_ptr) => unsafe {
[INFO] [stdout]    |                                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/hash_map.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/hash_map.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/memory.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     unsafe { mem::size_of_val(&ptr) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/memory.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     unsafe { std::ptr::eq(ptr, other_ptr) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Repl` is never constructed
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Repl<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init` and `prompt` are never used
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl<'a> Repl<'a> {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 44 |     fn init(vm: &'a mut vm::VM) -> Repl<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn prompt(&mut self, name: &str) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repl` is never used
[INFO] [stdout]   --> src/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn repl() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disassemble_chunk` is never used
[INFO] [stdout]   --> src/chunk.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<'a> Chunk {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub(crate) fn disassemble_chunk(&self, name: &str) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `func_type` is never read
[INFO] [stdout]    --> src/common.rs:181:16
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub(crate) struct Function {
[INFO] [stdout]     |                   -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub(crate) func_type: FunctionType,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Function` is never constructed
[INFO] [stdout]    --> src/common.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub(crate) enum FunctionType {
[INFO] [stdout]     |                 ------------ variant in this enum
[INFO] [stdout] 197 |     Function,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FunctionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Nil` is never constructed
[INFO] [stdout]    --> src/common.rs:207:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub(crate) enum Obj {
[INFO] [stdout]     |                 --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 207 |     Nil,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Obj` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_nil` is never used
[INFO] [stdout]    --> src/common.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl Obj {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn is_nil(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `emit_bytes` is never used
[INFO] [stdout]    --> src/compiler.rs:834:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl<'c> Compiler<'c> {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 834 |     fn emit_bytes(&mut self, byte_1: u8, byte_2: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_mut`, `dump`, and `find_entry_mut` are never used
[INFO] [stdout]    --> src/hash_map.rs:57:19
[INFO] [stdout]     |
[INFO] [stdout] 24  | / impl<T> Table<T>
[INFO] [stdout] 25  | | where
[INFO] [stdout] 26  | |     T: Clone,
[INFO] [stdout] 27  | |     T: Debug,
[INFO] [stdout]     | |_____________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57  |       pub(crate) fn get_mut(&mut self, key: FatPointer) -> Option<&mut T> {
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |       pub(crate) fn dump(&self) {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |       fn find_entry_mut(&mut self, key: &FatPointer) -> Option<&mut Entry<T>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestValue` is never constructed
[INFO] [stdout]    --> src/hash_map.rs:201:8
[INFO] [stdout]     |
[INFO] [stdout] 201 | struct TestValue {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `allocate_for_value` is never used
[INFO] [stdout]   --> src/memory.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn allocate_for_value<T>(value: T) -> *mut u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/memory.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn add<T>(ptr: *mut u8, value: T) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_of` is never used
[INFO] [stdout]   --> src/memory.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn size_of<T>(ptr: *mut u8) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/memory.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn print<T>(ptr: *mut u8)
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drop` is never used
[INFO] [stdout]   --> src/memory.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn drop<T>(ptr: *mut u8) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/memory.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn get<T>(ptr: *mut T) -> T {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display` is never used
[INFO] [stdout]   --> src/metrics.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) fn display() {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset_stack` and `is_equal` are never used
[INFO] [stdout]    --> src/vm.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl VM {
[INFO] [stdout]     | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn reset_stack(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 541 |     fn is_equal(&self, left: Value, right: Value) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/common.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: `#[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] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/compiler.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/scanner.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, PartialEq, Copy, Clone, FromPrimitive, Hash, Eq)]
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 34 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.91s
[INFO] running `Command { std: "docker" "inspect" "ca745134dd2e16d9c8ebc74202a73653deb399cb06c3b8e3520d1452998d3d4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca745134dd2e16d9c8ebc74202a73653deb399cb06c3b8e3520d1452998d3d4b", kill_on_drop: false }`
[INFO] [stdout] ca745134dd2e16d9c8ebc74202a73653deb399cb06c3b8e3520d1452998d3d4b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6cc5c3a4115fedc58523de3c80ffc33e5816d6c37b51c954de06486c42eaa617
[INFO] running `Command { std: "docker" "start" "-a" "6cc5c3a4115fedc58523de3c80ffc33e5816d6c37b51c954de06486c42eaa617", kill_on_drop: false }`
[INFO] [stderr]    Compiling rlox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/hash_map.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Entry`
[INFO] [stdout]  --> src/vm.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::hash_map::{Table, Entry};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/common.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Value::Obj(obj) => unsafe { obj.is_string() },
[INFO] [stdout]    |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/compiler.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |         | _ => ParseRule {
[INFO] [stdout]     |           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `set_op` is never read
[INFO] [stdout]    --> src/compiler.rs:495:17
[INFO] [stdout]     |
[INFO] [stdout] 495 |         let mut set_op = OpCode::Nil;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `get_op` is never read
[INFO] [stdout]    --> src/compiler.rs:496:17
[INFO] [stdout]     |
[INFO] [stdout] 496 |         let mut get_op = OpCode::Nil;
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/debug.rs:25:34
[INFO] [stdout]    |
[INFO] [stdout] 25 |             Obj::Str(fat_ptr) => unsafe {
[INFO] [stdout]    |                                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/hash_map.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/hash_map.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/memory.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     unsafe { mem::size_of_val(&ptr) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/memory.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     unsafe { std::ptr::eq(ptr, other_ptr) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Repl` is never constructed
[INFO] [stdout]   --> src/main.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Repl<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init` and `prompt` are never used
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl<'a> Repl<'a> {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 44 |     fn init(vm: &'a mut vm::VM) -> Repl<'a> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn prompt(&mut self, name: &str) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repl` is never used
[INFO] [stdout]   --> src/main.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn repl() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disassemble_chunk` is never used
[INFO] [stdout]   --> src/chunk.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<'a> Chunk {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub(crate) fn disassemble_chunk(&self, name: &str) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `func_type` is never read
[INFO] [stdout]    --> src/common.rs:181:16
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub(crate) struct Function {
[INFO] [stdout]     |                   -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub(crate) func_type: FunctionType,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Function` is never constructed
[INFO] [stdout]    --> src/common.rs:197:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub(crate) enum FunctionType {
[INFO] [stdout]     |                 ------------ variant in this enum
[INFO] [stdout] 197 |     Function,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FunctionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Nil` is never constructed
[INFO] [stdout]    --> src/common.rs:207:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub(crate) enum Obj {
[INFO] [stdout]     |                 --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 207 |     Nil,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Obj` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_nil` is never used
[INFO] [stdout]    --> src/common.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl Obj {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn is_nil(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `emit_bytes` is never used
[INFO] [stdout]    --> src/compiler.rs:834:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl<'c> Compiler<'c> {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 834 |     fn emit_bytes(&mut self, byte_1: u8, byte_2: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dump` is never used
[INFO] [stdout]    --> src/hash_map.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 24  | / impl<T> Table<T>
[INFO] [stdout] 25  | | where
[INFO] [stdout] 26  | |     T: Clone,
[INFO] [stdout] 27  | |     T: Debug,
[INFO] [stdout]     | |_____________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |       pub(crate) fn dump(&self) {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `allocate_for_value` is never used
[INFO] [stdout]   --> src/memory.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn allocate_for_value<T>(value: T) -> *mut u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/memory.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn add<T>(ptr: *mut u8, value: T) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `size_of` is never used
[INFO] [stdout]   --> src/memory.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn size_of<T>(ptr: *mut u8) -> usize {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/memory.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn print<T>(ptr: *mut u8)
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `drop` is never used
[INFO] [stdout]   --> src/memory.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn drop<T>(ptr: *mut u8) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/memory.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn get<T>(ptr: *mut T) -> T {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display` is never used
[INFO] [stdout]   --> src/metrics.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) fn display() {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `reset_stack` and `is_equal` are never used
[INFO] [stdout]    --> src/vm.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl VM {
[INFO] [stdout]     | ------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn reset_stack(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 541 |     fn is_equal(&self, left: Value, right: Value) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/common.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: `#[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] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/compiler.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/scanner.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, PartialEq, Copy, Clone, FromPrimitive, Hash, Eq)]
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s
[INFO] running `Command { std: "docker" "inspect" "6cc5c3a4115fedc58523de3c80ffc33e5816d6c37b51c954de06486c42eaa617", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6cc5c3a4115fedc58523de3c80ffc33e5816d6c37b51c954de06486c42eaa617", kill_on_drop: false }`
[INFO] [stdout] 6cc5c3a4115fedc58523de3c80ffc33e5816d6c37b51c954de06486c42eaa617
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4f51c9846127503cbad27724eaedd15c35412ccbfa806cd36fae33daa3c92e36
[INFO] running `Command { std: "docker" "start" "-a" "4f51c9846127503cbad27724eaedd15c35412ccbfa806cd36fae33daa3c92e36", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Path`
[INFO] [stderr]  --> src/main.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stderr]  --> src/hash_map.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::borrow::BorrowMut;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Entry`
[INFO] [stderr]  --> src/vm.rs:5:30
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::hash_map::{Table, Entry};
[INFO] [stderr]   |                              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/common.rs:75:32
[INFO] [stderr]    |
[INFO] [stderr] 75 |             Value::Obj(obj) => unsafe { obj.is_string() },
[INFO] [stderr]    |                                ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/compiler.rs:126:11
[INFO] [stderr]     |
[INFO] [stderr] 126 |         | _ => ParseRule {
[INFO] [stderr]     |           ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `set_op` is never read
[INFO] [stderr]    --> src/compiler.rs:495:17
[INFO] [stderr]     |
[INFO] [stderr] 495 |         let mut set_op = OpCode::Nil;
[INFO] [stderr]     |                 ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `get_op` is never read
[INFO] [stderr]    --> src/compiler.rs:496:17
[INFO] [stderr]     |
[INFO] [stderr] 496 |         let mut get_op = OpCode::Nil;
[INFO] [stderr]     |                 ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/debug.rs:25:34
[INFO] [stderr]    |
[INFO] [stderr] 25 |             Obj::Str(fat_ptr) => unsafe {
[INFO] [stderr]    |                                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]   --> src/hash_map.rs:52:29
[INFO] [stderr]    |
[INFO] [stderr] 52 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stderr]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]   --> src/hash_map.rs:60:29
[INFO] [stderr]    |
[INFO] [stderr] 60 |             Entry::Occupied(value, data) => Some(data),
[INFO] [stderr]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/memory.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 35 |     unsafe { mem::size_of_val(&ptr) }
[INFO] [stderr]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> src/memory.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 |     unsafe { std::ptr::eq(ptr, other_ptr) }
[INFO] [stderr]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Repl` is never constructed
[INFO] [stderr]   --> src/main.rs:39:8
[INFO] [stderr]    |
[INFO] [stderr] 39 | struct Repl<'a> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `init` and `prompt` are never used
[INFO] [stderr]   --> src/main.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 43 | impl<'a> Repl<'a> {
[INFO] [stderr]    | ----------------- associated items in this implementation
[INFO] [stderr] 44 |     fn init(vm: &'a mut vm::VM) -> Repl<'a> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 |     fn prompt(&mut self, name: &str) {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `repl` is never used
[INFO] [stderr]   --> src/main.rs:59:4
[INFO] [stderr]    |
[INFO] [stderr] 59 | fn repl() {
[INFO] [stderr]    |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `disassemble_chunk` is never used
[INFO] [stderr]   --> src/chunk.rs:55:19
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl<'a> Chunk {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub(crate) fn disassemble_chunk(&self, name: &str) {
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `func_type` is never read
[INFO] [stderr]    --> src/common.rs:181:16
[INFO] [stderr]     |
[INFO] [stderr] 177 | pub(crate) struct Function {
[INFO] [stderr]     |                   -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 181 |     pub(crate) func_type: FunctionType,
[INFO] [stderr]     |                ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Function` is never constructed
[INFO] [stderr]    --> src/common.rs:197:5
[INFO] [stderr]     |
[INFO] [stderr] 196 | pub(crate) enum FunctionType {
[INFO] [stderr]     |                 ------------ variant in this enum
[INFO] [stderr] 197 |     Function,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `FunctionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Nil` is never constructed
[INFO] [stderr]    --> src/common.rs:207:5
[INFO] [stderr]     |
[INFO] [stderr] 203 | pub(crate) enum Obj {
[INFO] [stderr]     |                 --- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 207 |     Nil,
[INFO] [stderr]     |     ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Obj` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_nil` is never used
[INFO] [stderr]    --> src/common.rs:217:12
[INFO] [stderr]     |
[INFO] [stderr] 210 | impl Obj {
[INFO] [stderr]     | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 217 |     pub fn is_nil(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `emit_bytes` is never used
[INFO] [stderr]    --> src/compiler.rs:834:8
[INFO] [stderr]     |
[INFO] [stderr] 204 | impl<'c> Compiler<'c> {
[INFO] [stderr]     | --------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 834 |     fn emit_bytes(&mut self, byte_1: u8, byte_2: u8) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `dump` is never used
[INFO] [stderr]    --> src/hash_map.rs:117:19
[INFO] [stderr]     |
[INFO] [stderr] 24  | / impl<T> Table<T>
[INFO] [stderr] 25  | | where
[INFO] [stderr] 26  | |     T: Clone,
[INFO] [stderr] 27  | |     T: Debug,
[INFO] [stderr]     | |_____________- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 117 |       pub(crate) fn dump(&self) {
[INFO] [stderr]     |                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `allocate_for_value` is never used
[INFO] [stderr]   --> src/memory.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub fn allocate_for_value<T>(value: T) -> *mut u8 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `add` is never used
[INFO] [stderr]   --> src/memory.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub fn add<T>(ptr: *mut u8, value: T) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `size_of` is never used
[INFO] [stderr]   --> src/memory.rs:34:8
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub fn size_of<T>(ptr: *mut u8) -> usize {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `print` is never used
[INFO] [stderr]   --> src/memory.rs:42:8
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub fn print<T>(ptr: *mut u8)
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `drop` is never used
[INFO] [stderr]   --> src/memory.rs:51:8
[INFO] [stderr]    |
[INFO] [stderr] 51 | pub fn drop<T>(ptr: *mut u8) {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get` is never used
[INFO] [stderr]   --> src/memory.rs:72:8
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub fn get<T>(ptr: *mut T) -> T {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `display` is never used
[INFO] [stderr]   --> src/metrics.rs:26:15
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub(crate) fn display() {
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `reset_stack` and `is_equal` are never used
[INFO] [stderr]    --> src/vm.rs:133:8
[INFO] [stderr]     |
[INFO] [stderr] 111 | impl VM {
[INFO] [stderr]     | ------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 133 |     fn reset_stack(&mut self) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 541 |     fn is_equal(&self, left: Value, right: Value) -> bool {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stderr]   --> src/common.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(FromPrimitive)]
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stderr]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stderr]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: `#[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stderr]   --> src/compiler.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stderr]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stderr]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stderr]  --> src/scanner.rs:4:41
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(Debug, PartialEq, Copy, Clone, FromPrimitive, Hash, Eq)]
[INFO] [stderr]   |                                         ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stderr]   = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stderr]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `rlox` (bin "rlox" test) generated 33 warnings (run `cargo fix --bin "rlox" --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-c0e2c34a82cc788f)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test hash_map::tests::can_expand_capacity_as_required ... ok
[INFO] [stdout] test hash_map::tests::can_handle_reference ... ok
[INFO] [stdout] test hash_map::tests::can_hold_and_return_multiple_keys ... ok
[INFO] [stdout] test hash_map::tests::can_hold_multiple_keys_multiple_tables ... ok
[INFO] [stdout] test hasher::tests::can_calculate_hash ... ok
[INFO] [stdout] test hash_map::tests::can_hold_multiple_keys ... ok
[INFO] [stdout] test hash_map::tests::can_hold_and_delete_multiple_keys ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- hash_map::tests::can_hold_and_delete_multiple_keys stdout ----
[INFO] [stdout] Entry index: None
[INFO] [stdout] thread 'hash_map::tests::can_hold_and_delete_multiple_keys' panicked at src/hash_map.rs:50:43:
[INFO] [stdout] called `Option::unwrap()` on a `None` value
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5615c5f15015 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x5615c5f15015 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5615c5f15015 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5615c5f15015 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5615c5f3b7fb - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x5615c5f3b7fb - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x5615c5f128ff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x5615c5f14dee - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5615c5f14dee - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5615c5f16759 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x5615c5f164ac - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x5615c5ee1faf - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x5615c5ee1faf - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x5615c5f16d5b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x5615c5f16d5b - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x5615c5f16a9b - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:656:13
[INFO] [stdout]   16:     0x5615c5f154d9 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5615c5f16807 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x5615c5ea7823 - core::panicking::panic_fmt::h2ba8af99174d83ea
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x5615c5ea78cc - core::panicking::panic::h049fed9389bf889e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:146:5
[INFO] [stdout]   20:     0x5615c5ea77c9 - core::option::unwrap_failed::h776a3fce521bb469
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/option.rs:1984:5
[INFO] [stdout]   21:     0x5615c5ead0c5 - core::option::Option<T>::unwrap::h65ae4f59357bff47
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/option.rs:932:21
[INFO] [stdout]   22:     0x5615c5ead0c5 - rlox::hash_map::Table<T>::get::h30159169d7ee0849
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:50:21
[INFO] [stdout]   23:     0x5615c5eaa455 - rlox::hash_map::tests::can_hold_and_delete_multiple_keys::h49dd7b7afbfe1451
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:273:20
[INFO] [stdout]   24:     0x5615c5eaa307 - rlox::hash_map::tests::can_hold_and_delete_multiple_keys::{{closure}}::h533bbf4c2afd78fd
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:264:43
[INFO] [stdout]   25:     0x5615c5ea86b6 - core::ops::function::FnOnce::call_once::ha15bba955aa43d97
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x5615c5ee68cb - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x5615c5ee68cb - test::__rust_begin_short_backtrace::hdcf0edcfa9080086
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18
[INFO] [stdout]   28:     0x5615c5ee5f91 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60
[INFO] [stdout]   29:     0x5615c5ee5f91 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   30:     0x5615c5ee5f91 - std::panicking::try::do_call::h5e158f1ad8a5f983
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   31:     0x5615c5ee5f91 - std::panicking::try::hea3411d60321c4de
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   32:     0x5615c5ee5f91 - std::panic::catch_unwind::hafb7bb18bc47bbc7
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   33:     0x5615c5ee5f91 - test::run_test_in_process::h74dd138dc7762d99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27
[INFO] [stdout]   34:     0x5615c5ee5f91 - test::run_test::{{closure}}::h6b390822e63606cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43
[INFO] [stdout]   35:     0x5615c5eae964 - test::run_test::{{closure}}::h6e11dba8131d354b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41
[INFO] [stdout]   36:     0x5615c5eae964 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   37:     0x5615c5eb3432 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   38:     0x5615c5eb3432 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   39:     0x5615c5eb3432 - std::panicking::try::do_call::hbf534c458cd858f0
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   40:     0x5615c5eb3432 - std::panicking::try::h65c18365a7b9ad90
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   41:     0x5615c5eb3432 - std::panic::catch_unwind::h21b25d4c69478c39
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   42:     0x5615c5eb3432 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   43:     0x5615c5eb3432 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x5615c5f1af2b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   45:     0x5615c5f1af2b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x5615c5f1af2b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   47:     0x7f39cbe8aac3 - <unknown>
[INFO] [stdout]   48:     0x7f39cbf1ba04 - __clone
[INFO] [stdout]   49:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     hash_map::tests::can_hold_and_delete_multiple_keys
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rlox`
[INFO] running `Command { std: "docker" "inspect" "4f51c9846127503cbad27724eaedd15c35412ccbfa806cd36fae33daa3c92e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f51c9846127503cbad27724eaedd15c35412ccbfa806cd36fae33daa3c92e36", kill_on_drop: false }`
[INFO] [stdout] 4f51c9846127503cbad27724eaedd15c35412ccbfa806cd36fae33daa3c92e36
