[INFO] cloning repository https://github.com/roshangiyanani/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roshangiyanani/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshangiyanani%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshangiyanani%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9250f0b8f6d434cbdfd8a25f800b93c579db9167 [INFO] checking roshangiyanani/rlox against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshangiyanani%2Frlox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roshangiyanani/rlox on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roshangiyanani/rlox [INFO] finished tweaking git repo https://github.com/roshangiyanani/rlox [INFO] tweaked toml for git repo https://github.com/roshangiyanani/rlox written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/roshangiyanani/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded simple_logger v1.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd4bd4224bec0e6adc1891dba5145e519a6e5b2df750165016600d00a5111cf8 [INFO] running `Command { std: "docker" "start" "-a" "fd4bd4224bec0e6adc1891dba5145e519a6e5b2df750165016600d00a5111cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd4bd4224bec0e6adc1891dba5145e519a6e5b2df750165016600d00a5111cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4bd4224bec0e6adc1891dba5145e519a6e5b2df750165016600d00a5111cf8", kill_on_drop: false }` [INFO] [stdout] fd4bd4224bec0e6adc1891dba5145e519a6e5b2df750165016600d00a5111cf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3876df5596aac97e657fb2021ad349a6245d195d788d077a830d8eb99c8acc27 [INFO] running `Command { std: "docker" "start" "-a" "3876df5596aac97e657fb2021ad349a6245d195d788d077a830d8eb99c8acc27", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking simple_logger v1.15.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling test-case-macros v2.2.2 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Checking test-case v2.2.2 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/bytecode/core.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Binary, Display}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/bytecode/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::scanner::Token` [INFO] [stdout] --> src/compiler/syntax_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::scanner::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/compiler/syntax_tree.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Error, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/bytecode/core.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Binary, Display}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/bytecode/core.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | use super::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] 113 | use crate::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/bytecode/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::scanner::Token` [INFO] [stdout] --> src/compiler/syntax_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::scanner::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/compiler/syntax_tree.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Error, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/compiler/syntax_tree.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Error, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_instruction`, `add_instructions`, `add_op`, `add_raw`, and `add_constant` are never used [INFO] [stdout] --> src/bytecode/core.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 63 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 64 | pub(crate) fn new() -> Chunk { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn add_instruction(&mut self, line: u32, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn add_instructions(&mut self, instructions: &[(u32, Instruction)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn add_op(&mut self, op: OpCode, line: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_raw(&mut self, code: u8, line: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn add_constant(&mut self, constant: Value) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaryOperator` is never used [INFO] [stdout] --> src/compiler/syntax_tree.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum UnaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryOperator` is never used [INFO] [stdout] --> src/compiler/syntax_tree.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum BinaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `String`, `Number`, and `Nil` are never constructed [INFO] [stdout] --> src/compiler/syntax_tree.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum Literal<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 55 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | String(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: enum `Expression` is never used [INFO] [stdout] --> src/compiler/syntax_tree.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DissemblerPrinter` is never constructed [INFO] [stdout] --> src/dissembler.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DissemblerPrinter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DissemblerPrinter` 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: associated items `new`, `dissemble`, and `print` are never used [INFO] [stdout] --> src/dissembler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DissemblerPrinter { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> DissemblerPrinter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn dissemble(chunk: &Chunk, name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn print( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/vm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EmptyStack` is never constructed [INFO] [stdout] --> src/vm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum InterpreterError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 15 | ParseError(BytecodeParseError), [INFO] [stdout] 16 | EmptyStack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterError` 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: enum `ControlFlow` is never used [INFO] [stdout] --> src/vm.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stack_pop`, `interpret`, and `interpret_chunk` are never used [INFO] [stdout] --> src/vm.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 31 | pub fn new() -> VM { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn stack_pop(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn interpret(&mut self, instruction: Instruction) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn interpret_chunk(chunk: Chunk) -> Result<(), InterpreterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/compiler/syntax_tree.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Error, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bang` is never constructed [INFO] [stdout] --> src/compiler/syntax_tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum UnaryOperator { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 7 | Minus, [INFO] [stdout] 8 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/compiler/syntax_tree.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 23 | EqualEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | BangEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Star, [INFO] [stdout] 32 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` 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: variants `Identifier`, `String`, and `Nil` are never constructed [INFO] [stdout] --> src/compiler/syntax_tree.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum Literal<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 55 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | String(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Number(f64), [INFO] [stdout] 58 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: struct `DissemblerPrinter` is never constructed [INFO] [stdout] --> src/dissembler.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DissemblerPrinter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DissemblerPrinter` 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: associated items `new`, `dissemble`, and `print` are never used [INFO] [stdout] --> src/dissembler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DissemblerPrinter { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> DissemblerPrinter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn dissemble(chunk: &Chunk, name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn print( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/vm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EmptyStack` is never constructed [INFO] [stdout] --> src/vm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum InterpreterError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 15 | ParseError(BytecodeParseError), [INFO] [stdout] 16 | EmptyStack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterError` 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: enum `ControlFlow` is never used [INFO] [stdout] --> src/vm.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stack_pop`, `interpret`, and `interpret_chunk` are never used [INFO] [stdout] --> src/vm.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 31 | pub fn new() -> VM { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn stack_pop(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn interpret(&mut self, instruction: Instruction) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn interpret_chunk(chunk: Chunk) -> Result<(), InterpreterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.95s [INFO] running `Command { std: "docker" "inspect" "3876df5596aac97e657fb2021ad349a6245d195d788d077a830d8eb99c8acc27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3876df5596aac97e657fb2021ad349a6245d195d788d077a830d8eb99c8acc27", kill_on_drop: false }` [INFO] [stdout] 3876df5596aac97e657fb2021ad349a6245d195d788d077a830d8eb99c8acc27 [INFO] checking roshangiyanani/rlox against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froshangiyanani%2Frlox" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roshangiyanani/rlox on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roshangiyanani/rlox [INFO] finished tweaking git repo https://github.com/roshangiyanani/rlox [INFO] tweaked toml for git repo https://github.com/roshangiyanani/rlox written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/roshangiyanani/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b57f1701e2a6a472357303d7a9a9956291f2c1e3b375dd453d9fc7955fd8d3b [INFO] running `Command { std: "docker" "start" "-a" "0b57f1701e2a6a472357303d7a9a9956291f2c1e3b375dd453d9fc7955fd8d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b57f1701e2a6a472357303d7a9a9956291f2c1e3b375dd453d9fc7955fd8d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b57f1701e2a6a472357303d7a9a9956291f2c1e3b375dd453d9fc7955fd8d3b", kill_on_drop: false }` [INFO] [stdout] 0b57f1701e2a6a472357303d7a9a9956291f2c1e3b375dd453d9fc7955fd8d3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49a926d0e0dd93ea74c37585b26202ac530a24db147c9751f34de393e3026266 [INFO] running `Command { std: "docker" "start" "-a" "49a926d0e0dd93ea74c37585b26202ac530a24db147c9751f34de393e3026266", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking simple_logger v1.15.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling phf_macros v0.11.1 [INFO] [stderr] Compiling test-case-macros v2.2.2 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking test-case v2.2.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/bytecode/core.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Binary, Display}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/bytecode/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::scanner::Token` [INFO] [stdout] --> src/compiler/syntax_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::scanner::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/compiler/syntax_tree.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Error, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Binary` [INFO] [stdout] --> src/bytecode/core.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Binary, Display}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/bytecode/core.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 112 | use super::*; [INFO] [stdout] | -------- the item `Value` is already imported here [INFO] [stdout] 113 | use crate::value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/bytecode/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::scanner::Token` [INFO] [stdout] --> src/compiler/syntax_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::compiler::scanner::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/compiler/syntax_tree.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Error, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/compiler/syntax_tree.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Error, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/compiler/syntax_tree.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Error, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_instruction`, `add_instructions`, `add_op`, `add_raw`, and `add_constant` are never used [INFO] [stdout] --> src/bytecode/core.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 63 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 64 | pub(crate) fn new() -> Chunk { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn add_instruction(&mut self, line: u32, instruction: Instruction) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn add_instructions(&mut self, instructions: &[(u32, Instruction)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn add_op(&mut self, op: OpCode, line: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn add_raw(&mut self, code: u8, line: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn add_constant(&mut self, constant: Value) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaryOperator` is never used [INFO] [stdout] --> src/compiler/syntax_tree.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum UnaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryOperator` is never used [INFO] [stdout] --> src/compiler/syntax_tree.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum BinaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `String`, `Number`, and `Nil` are never constructed [INFO] [stdout] --> src/compiler/syntax_tree.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum Literal<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 55 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | String(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: enum `Expression` is never used [INFO] [stdout] --> src/compiler/syntax_tree.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DissemblerPrinter` is never constructed [INFO] [stdout] --> src/dissembler.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DissemblerPrinter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DissemblerPrinter` 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: associated items `new`, `dissemble`, and `print` are never used [INFO] [stdout] --> src/dissembler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DissemblerPrinter { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> DissemblerPrinter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn dissemble(chunk: &Chunk, name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn print( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/vm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EmptyStack` is never constructed [INFO] [stdout] --> src/vm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum InterpreterError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 15 | ParseError(BytecodeParseError), [INFO] [stdout] 16 | EmptyStack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterError` 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: enum `ControlFlow` is never used [INFO] [stdout] --> src/vm.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stack_pop`, `interpret`, and `interpret_chunk` are never used [INFO] [stdout] --> src/vm.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 31 | pub fn new() -> VM { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn stack_pop(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn interpret(&mut self, instruction: Instruction) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn interpret_chunk(chunk: Chunk) -> Result<(), InterpreterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bang` is never constructed [INFO] [stdout] --> src/compiler/syntax_tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum UnaryOperator { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 7 | Minus, [INFO] [stdout] 8 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/compiler/syntax_tree.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 23 | EqualEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | BangEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Star, [INFO] [stdout] 32 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOperator` 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: variants `Identifier`, `String`, and `Nil` are never constructed [INFO] [stdout] --> src/compiler/syntax_tree.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum Literal<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 55 | Identifier(&'a str), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 56 | String(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | Number(f64), [INFO] [stdout] 58 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: struct `DissemblerPrinter` is never constructed [INFO] [stdout] --> src/dissembler.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DissemblerPrinter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DissemblerPrinter` 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: associated items `new`, `dissemble`, and `print` are never used [INFO] [stdout] --> src/dissembler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DissemblerPrinter { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> DissemblerPrinter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn dissemble(chunk: &Chunk, name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn print( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/vm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EmptyStack` is never constructed [INFO] [stdout] --> src/vm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum InterpreterError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 15 | ParseError(BytecodeParseError), [INFO] [stdout] 16 | EmptyStack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterpreterError` 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: enum `ControlFlow` is never used [INFO] [stdout] --> src/vm.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stack_pop`, `interpret`, and `interpret_chunk` are never used [INFO] [stdout] --> src/vm.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 31 | pub fn new() -> VM { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn stack_pop(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn interpret(&mut self, instruction: Instruction) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn interpret_chunk(chunk: Chunk) -> Result<(), InterpreterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.13s [INFO] running `Command { std: "docker" "inspect" "49a926d0e0dd93ea74c37585b26202ac530a24db147c9751f34de393e3026266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a926d0e0dd93ea74c37585b26202ac530a24db147c9751f34de393e3026266", kill_on_drop: false }` [INFO] [stdout] 49a926d0e0dd93ea74c37585b26202ac530a24db147c9751f34de393e3026266