[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] checking pawanspace/rlox against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.2.17 [INFO] [stderr] Downloaded anyhow v1.0.66 [INFO] [stderr] Downloaded quote v1.0.16 [INFO] [stderr] Downloaded serde_json v1.0.89 [INFO] [stderr] Downloaded clap v3.2.17 [INFO] [stderr] Downloaded syn v1.0.89 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17eb0b9eaaf4bb22315a59f56e56903f6dbf75e6a5ad5d7617320e991a7be1ba [INFO] running `Command { std: "docker" "start" "-a" "17eb0b9eaaf4bb22315a59f56e56903f6dbf75e6a5ad5d7617320e991a7be1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17eb0b9eaaf4bb22315a59f56e56903f6dbf75e6a5ad5d7617320e991a7be1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17eb0b9eaaf4bb22315a59f56e56903f6dbf75e6a5ad5d7617320e991a7be1ba", kill_on_drop: false }` [INFO] [stdout] 17eb0b9eaaf4bb22315a59f56e56903f6dbf75e6a5ad5d7617320e991a7be1ba [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fa3cae5829e8bbd700600368cc4c34318dcb015b56d9529c8215f459f8209f6 [INFO] running `Command { std: "docker" "start" "-a" "3fa3cae5829e8bbd700600368cc4c34318dcb015b56d9529c8215f459f8209f6", 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 num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking 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] Checking clap v3.2.17 [INFO] [stderr] Checking rustfix v0.6.1 [INFO] [stderr] Checking 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: 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: 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] | ^ 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)]` 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: 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)]` 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: 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 Table [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> { [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(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(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(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(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(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(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: 31 warnings emitted [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 Table [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(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(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(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(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(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(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: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.06s [INFO] running `Command { std: "docker" "inspect" "3fa3cae5829e8bbd700600368cc4c34318dcb015b56d9529c8215f459f8209f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa3cae5829e8bbd700600368cc4c34318dcb015b56d9529c8215f459f8209f6", kill_on_drop: false }` [INFO] [stdout] 3fa3cae5829e8bbd700600368cc4c34318dcb015b56d9529c8215f459f8209f6