[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 try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawanspace%2Frlox" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pawanspace/rlox on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5e2c14e3efb68081c0cf860457f7e76617c208f208d5b6e50f1a8014a3f56a3e
[INFO] running `Command { std: "docker" "start" "-a" "5e2c14e3efb68081c0cf860457f7e76617c208f208d5b6e50f1a8014a3f56a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e2c14e3efb68081c0cf860457f7e76617c208f208d5b6e50f1a8014a3f56a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e2c14e3efb68081c0cf860457f7e76617c208f208d5b6e50f1a8014a3f56a3e", kill_on_drop: false }`
[INFO] [stdout] 5e2c14e3efb68081c0cf860457f7e76617c208f208d5b6e50f1a8014a3f56a3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 845f5d147c154590ac0fc9b8b58aa752f128a09656732145cf253d057a52f7a5
[INFO] running `Command { std: "docker" "start" "-a" "845f5d147c154590ac0fc9b8b58aa752f128a09656732145cf253d057a52f7a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[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 proc-macro-error v1.0.4
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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]     |           ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/compiler.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout]  44 |         TokenType::LeftParen => ParseRule {
[INFO] [stdout]     |         -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  49 |         TokenType::Minus | TokenType::Bang => ParseRule {
[INFO] [stdout]     |         ----------------   --------------- matches some of the same values
[INFO] [stdout]     |         |
[INFO] [stdout]     |         matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  54 |         TokenType::Plus => ParseRule {
[INFO] [stdout]     |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 126 |         | _ => ParseRule {
[INFO] [stdout]     |           ^ ...and 36 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `set_op` is never read
[INFO] [stdout]    --> src/compiler.rs:495:26
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `get_op` is never read
[INFO] [stdout]    --> src/compiler.rs:496:26
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/common.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stdout] 11 | pub(crate) enum OpCode {
[INFO] [stdout]    |                 ------ `OpCode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `std::string::String` is dropped at end of statement
[INFO] [stdout]    --> src/common.rs:270:37
[INFO] [stdout]     |
[INFO] [stdout] 270 |                 ptr: "".to_string().as_mut_ptr(),
[INFO] [stdout]     |                      -------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this `std::string::String` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `std::string::String` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/compiler.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stdout] 14 | enum Precedence {
[INFO] [stdout]    |      ---------- `Precedence` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: 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: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/compiler.rs:205:74
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub(crate) fn init(scanner: Scanner, table: &'c mut Table<Value>) -> Compiler {
[INFO] [stdout]     |                                                  --                      ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'c`
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub(crate) fn init(scanner: Scanner, table: &'c mut Table<Value>) -> Compiler<'c> {
[INFO] [stdout]     |                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/metrics.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         EVENTS.as_mut().unwrap().insert(name, total_time);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/metrics.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         EVENTS.as_ref().unwrap().iter().for_each(|(key, value)| {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/scanner.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, PartialEq, Copy, Clone, FromPrimitive, Hash, Eq)]
[INFO] [stdout]   |                                         ^------------
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         `FromPrimitive` is not local
[INFO] [stdout]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stdout] 5 | pub(crate) enum TokenType {
[INFO] [stdout]   |                 --------- `TokenType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.85s
[INFO] running `Command { std: "docker" "inspect" "845f5d147c154590ac0fc9b8b58aa752f128a09656732145cf253d057a52f7a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "845f5d147c154590ac0fc9b8b58aa752f128a09656732145cf253d057a52f7a5", kill_on_drop: false }`
[INFO] [stdout] 845f5d147c154590ac0fc9b8b58aa752f128a09656732145cf253d057a52f7a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd12148bd2979981ef712a5cee1c79618c88715724f823a4784a9d220bf21fb8
[INFO] running `Command { std: "docker" "start" "-a" "dd12148bd2979981ef712a5cee1c79618c88715724f823a4784a9d220bf21fb8", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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]     |           ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/compiler.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout]  44 |         TokenType::LeftParen => ParseRule {
[INFO] [stdout]     |         -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  49 |         TokenType::Minus | TokenType::Bang => ParseRule {
[INFO] [stdout]     |         ----------------   --------------- matches some of the same values
[INFO] [stdout]     |         |
[INFO] [stdout]     |         matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  54 |         TokenType::Plus => ParseRule {
[INFO] [stdout]     |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 126 |         | _ => ParseRule {
[INFO] [stdout]     |           ^ ...and 36 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `set_op` is never read
[INFO] [stdout]    --> src/compiler.rs:495:26
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `get_op` is never read
[INFO] [stdout]    --> src/compiler.rs:496:26
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/common.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(FromPrimitive)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stdout] 11 | pub(crate) enum OpCode {
[INFO] [stdout]    |                 ------ `OpCode` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `std::string::String` is dropped at end of statement
[INFO] [stdout]    --> src/common.rs:270:37
[INFO] [stdout]     |
[INFO] [stdout] 270 |                 ptr: "".to_string().as_mut_ptr(),
[INFO] [stdout]     |                      -------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this `std::string::String` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `std::string::String` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/compiler.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stdout] 14 | enum Precedence {
[INFO] [stdout]    |      ---------- `Precedence` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: 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: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/compiler.rs:205:74
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub(crate) fn init(scanner: Scanner, table: &'c mut Table<Value>) -> Compiler {
[INFO] [stdout]     |                                                  --                      ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'c`
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub(crate) fn init(scanner: Scanner, table: &'c mut Table<Value>) -> Compiler<'c> {
[INFO] [stdout]     |                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `std::string::String` is dropped at end of statement
[INFO] [stdout]    --> src/hash_map.rs:212:36
[INFO] [stdout]     |
[INFO] [stdout] 212 |             ptr: value.to_string().as_mut_ptr(),
[INFO] [stdout]     |                  ----------------- ^^^^^^^^^^ pointer created here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this `std::string::String` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `std::string::String` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/metrics.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         EVENTS.as_mut().unwrap().insert(name, total_time);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/metrics.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         EVENTS.as_ref().unwrap().iter().for_each(|(key, value)| {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/scanner.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, PartialEq, Copy, Clone, FromPrimitive, Hash, Eq)]
[INFO] [stdout]   |                                         ^------------
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         `FromPrimitive` is not local
[INFO] [stdout]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stdout] 5 | pub(crate) enum TokenType {
[INFO] [stdout]   |                 --------- `TokenType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s
[INFO] running `Command { std: "docker" "inspect" "dd12148bd2979981ef712a5cee1c79618c88715724f823a4784a9d220bf21fb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd12148bd2979981ef712a5cee1c79618c88715724f823a4784a9d220bf21fb8", kill_on_drop: false }`
[INFO] [stdout] dd12148bd2979981ef712a5cee1c79618c88715724f823a4784a9d220bf21fb8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 30b6e0a9a9acf6f6867fa52c7788295657162d73e3d5e4a9d4f9167dcc37a222
[INFO] running `Command { std: "docker" "start" "-a" "30b6e0a9a9acf6f6867fa52c7788295657162d73e3d5e4a9d4f9167dcc37a222", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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]     |           ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/compiler.rs:126:11
[INFO] [stderr]     |
[INFO] [stderr]  44 |         TokenType::LeftParen => ParseRule {
[INFO] [stderr]     |         -------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  49 |         TokenType::Minus | TokenType::Bang => ParseRule {
[INFO] [stderr]     |         ----------------   --------------- matches some of the same values
[INFO] [stderr]     |         |
[INFO] [stderr]     |         matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  54 |         TokenType::Plus => ParseRule {
[INFO] [stderr]     |         --------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 126 |         | _ => ParseRule {
[INFO] [stderr]     |           ^ ...and 36 other patterns collectively make this unreachable
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `set_op` is never read
[INFO] [stderr]    --> src/compiler.rs:495:26
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `get_op` is never read
[INFO] [stderr]    --> src/compiler.rs:496:26
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/common.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(FromPrimitive)]
[INFO] [stderr]    |          ^------------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `FromPrimitive` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_OpCode`
[INFO] [stderr] 11 | pub(crate) enum OpCode {
[INFO] [stderr]    |                 ------ `OpCode` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: this creates a dangling pointer because temporary `std::string::String` is dropped at end of statement
[INFO] [stderr]    --> src/common.rs:270:37
[INFO] [stderr]     |
[INFO] [stderr] 270 |                 ptr: "".to_string().as_mut_ptr(),
[INFO] [stderr]     |                      -------------- ^^^^^^^^^^ pointer created here
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      this `std::string::String` is dropped at end of statement
[INFO] [stderr]     |
[INFO] [stderr]     = help: bind the `std::string::String` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stderr]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stderr]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/compiler.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[derive(FromPrimitive, Eq, PartialEq)]
[INFO] [stderr]    |          ^------------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `FromPrimitive` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Precedence`
[INFO] [stderr] 14 | enum Precedence {
[INFO] [stderr]    |      ---------- `Precedence` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stderr]    --> src/compiler.rs:205:74
[INFO] [stderr]     |
[INFO] [stderr] 205 |     pub(crate) fn init(scanner: Scanner, table: &'c mut Table<Value>) -> Compiler {
[INFO] [stderr]     |                                                  --                      ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  the lifetime is named here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: consistently use `'c`
[INFO] [stderr]     |
[INFO] [stderr] 205 |     pub(crate) fn init(scanner: Scanner, table: &'c mut Table<Value>) -> Compiler<'c> {
[INFO] [stderr]     |                                                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: this creates a dangling pointer because temporary `std::string::String` is dropped at end of statement
[INFO] [stderr]    --> src/hash_map.rs:212:36
[INFO] [stderr]     |
[INFO] [stderr] 212 |             ptr: value.to_string().as_mut_ptr(),
[INFO] [stderr]     |                  ----------------- ^^^^^^^^^^ pointer created here
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  this `std::string::String` is dropped at end of statement
[INFO] [stderr]     |
[INFO] [stderr]     = help: bind the `std::string::String` to a variable such that it outlives the pointer returned by `as_mut_ptr`
[INFO] [stderr]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stderr]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/metrics.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |         EVENTS.as_mut().unwrap().insert(name, total_time);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/metrics.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |         EVENTS.as_ref().unwrap().iter().for_each(|(key, value)| {
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[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]   |                                         `FromPrimitive` is not local
[INFO] [stderr]   |                                         move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TokenType`
[INFO] [stderr] 5 | pub(crate) enum TokenType {
[INFO] [stderr]   |                 --------- `TokenType` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: 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 38 warnings (run `cargo fix --bin "rlox" -p rlox --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-d1749d506e0e68a0)
[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] 
[INFO] [stdout] thread 'hash_map::tests::can_hold_and_delete_multiple_keys' (27) panicked at src/hash_map.rs:50:43:
[INFO] [stdout] called `Option::unwrap()` on a `None` value
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5693eb7e2562 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5693eb7e2562 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized::<std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5693eb7e2562 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5693eb7e2562 - <<std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5693eb7f6dca - <core[585f66e14d78f9ba]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5693eb7f6dca - core[585f66e14d78f9ba]::fmt::write
[INFO] [stdout]    6:     0x5693eb7e7366 - std[3f03f8b59f91bef1]::io::default_write_fmt::<alloc[15e7b27aba85d2e2]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5693eb7e7366 - <alloc[15e7b27aba85d2e2]::vec::Vec<u8> as std[3f03f8b59f91bef1]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5693eb7c0cff - <std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5693eb7c0cff - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5693eb7da899 - std[3f03f8b59f91bef1]::panicking::default_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5693eb77391e - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5693eb77391e - test[30224e0cb089acd2]::test_main_with_exit_callback::<test[30224e0cb089acd2]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5693eb7daa52 - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5693eb7daa52 - std[3f03f8b59f91bef1]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5693eb7c0dea - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x5693eb7b5fa9 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace::<std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5693eb7c1c0d - __rustc[caa99d26c7bae192]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5693eb7f743c - core[585f66e14d78f9ba]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5693eb7f7402 - core[585f66e14d78f9ba]::panicking::panic
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x5693eb7f71b9 - core[585f66e14d78f9ba]::option::unwrap_failed
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/option.rs:2199:5
[INFO] [stdout]   21:     0x5693eb76484c - <core[585f66e14d78f9ba]::option::Option<&rlox[4daa016d7fd2f675]::hash_map::Entry<bool>>>::unwrap
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/option.rs:1016:21
[INFO] [stdout]   22:     0x5693eb76484c - <rlox[4daa016d7fd2f675]::hash_map::Table<bool>>::get
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:50:43
[INFO] [stdout]   23:     0x5693eb766015 - rlox[4daa016d7fd2f675]::hash_map::tests::can_hold_and_delete_multiple_keys
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:273:24
[INFO] [stdout]   24:     0x5693eb762fb7 - rlox[4daa016d7fd2f675]::hash_map::tests::can_hold_and_delete_multiple_keys::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/hash_map.rs:264:43
[INFO] [stdout]   25:     0x5693eb767ba6 - <rlox[4daa016d7fd2f675]::hash_map::tests::can_hold_and_delete_multiple_keys::{closure#0} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stderr] error: test failed, to rerun pass `--bin rlox`
[INFO] [stdout]   26:     0x5693eb767ccb - <fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x5693eb767ccb - test[30224e0cb089acd2]::__rust_begin_short_backtrace::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18
[INFO] [stdout]   28:     0x5693eb77452a - test[30224e0cb089acd2]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74
[INFO] [stdout]   29:     0x5693eb77452a - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   30:     0x5693eb77452a - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   31:     0x5693eb77452a - std[3f03f8b59f91bef1]::panicking::catch_unwind::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   32:     0x5693eb77452a - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   33:     0x5693eb77452a - test[30224e0cb089acd2]::run_test_in_process
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27
[INFO] [stdout]   34:     0x5693eb77452a - test[30224e0cb089acd2]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43
[INFO] [stdout]   35:     0x5693eb76e9f4 - test[30224e0cb089acd2]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41
[INFO] [stdout]   36:     0x5693eb76e9f4 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   37:     0x5693eb777022 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   38:     0x5693eb777022 - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   39:     0x5693eb777022 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   40:     0x5693eb777022 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   41:     0x5693eb777022 - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   42:     0x5693eb777022 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   43:     0x5693eb777022 - <std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x5693eb7e1e0f - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn core[585f66e14d78f9ba]::ops::function::FnOnce<(), Output = ()> + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   45:     0x5693eb7e1e0f - <std[3f03f8b59f91bef1]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   46:     0x7aef71a58aa4 - <unknown>
[INFO] [stdout]   47:     0x7aef71ae5a64 - clone
[INFO] [stdout]   48:                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.04s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "30b6e0a9a9acf6f6867fa52c7788295657162d73e3d5e4a9d4f9167dcc37a222", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30b6e0a9a9acf6f6867fa52c7788295657162d73e3d5e4a9d4f9167dcc37a222", kill_on_drop: false }`
[INFO] [stdout] 30b6e0a9a9acf6f6867fa52c7788295657162d73e3d5e4a9d4f9167dcc37a222
