[INFO] cloning repository https://github.com/TheTerrior/quetzal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheTerrior/quetzal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTerrior%2Fquetzal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTerrior%2Fquetzal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b24faacfdc1b95123719b48dfe7b4ccb27c15682 [INFO] checking TheTerrior/quetzal against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheTerrior%2Fquetzal" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TheTerrior/quetzal [INFO] finished tweaking git repo https://github.com/TheTerrior/quetzal [INFO] tweaked toml for git repo https://github.com/TheTerrior/quetzal written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheTerrior/quetzal on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TheTerrior/quetzal 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c240186a18e51cedb3427da3ee6fdb86444bec1b48108400ad57efa52b622b83 [INFO] running `Command { std: "docker" "start" "-a" "c240186a18e51cedb3427da3ee6fdb86444bec1b48108400ad57efa52b622b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c240186a18e51cedb3427da3ee6fdb86444bec1b48108400ad57efa52b622b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c240186a18e51cedb3427da3ee6fdb86444bec1b48108400ad57efa52b622b83", kill_on_drop: false }` [INFO] [stdout] c240186a18e51cedb3427da3ee6fdb86444bec1b48108400ad57efa52b622b83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d92a05d92befff497210f6465a3076b63c9db15e008b69a450fa74e4ffbb348 [INFO] running `Command { std: "docker" "start" "-a" "8d92a05d92befff497210f6465a3076b63c9db15e008b69a450fa74e4ffbb348", kill_on_drop: false }` [INFO] [stderr] Checking quetzal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashSet`, `Rc`, `Weak`, and `cell::RefCell` [INFO] [stdout] --> src/memory.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, rc::{Rc, Weak}, cell::RefCell, isize}; [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: `Write` [INFO] [stdout] --> src/compiler.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufReader, BufRead, Write, BufWriter}, fs::{File, self}, collections::HashMap}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `Rc`, `Weak`, and `cell::RefCell` [INFO] [stdout] --> src/memory.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, rc::{Rc, Weak}, cell::RefCell, isize}; [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: `Write` [INFO] [stdout] --> src/compiler.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufReader, BufRead, Write, BufWriter}, fs::{File, self}, collections::HashMap}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut variable_counter = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut variable_names: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/compiler.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let file_size = assembly_file.metadata().map_err(|_| QuetzalError::BadFileRead(String::from(input)))?.len(); //get the file's size [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/compiler.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let writer = BufWriter::new(bytecode_file); //reduce number of writes to storage [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_counter` [INFO] [stdout] --> src/compiler.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut variable_counter = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_names` [INFO] [stdout] --> src/compiler.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut variable_names: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/compiler.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | ... let tokens: Vec<&str> = line.map_err(|_| QuetzalError::BadFileRead(String::from(input)))?.split(' ').collect(); //split line into t... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/compiler.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let bits = a(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut variable_counter = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut variable_names: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_size` [INFO] [stdout] --> src/compiler.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let file_size = assembly_file.metadata().map_err(|_| QuetzalError::BadFileRead(String::from(input)))?.len(); //get the file's size [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/compiler.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let writer = BufWriter::new(bytecode_file); //reduce number of writes to storage [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_counter` [INFO] [stdout] --> src/compiler.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut variable_counter = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_names` [INFO] [stdout] --> src/compiler.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut variable_names: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let offset = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/compiler.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | ... let tokens: Vec<&str> = line.map_err(|_| QuetzalError::BadFileRead(String::from(input)))?.split(' ').collect(); //split line into t... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/compiler.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let bits = a(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/memory.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Stack { [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 `new`, `search`, `define`, `push`, and `pop` are never used [INFO] [stdout] --> src/memory.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn search(&self, id: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn define(&mut self, id: usize, var: Variable) -> Result<(), QuetzalError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn push(&mut self) -> Result<(), QuetzalError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn pop(&mut self) -> Result<(), QuetzalError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Variable` is never used [INFO] [stdout] --> src/memory.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum Variable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QuetzalError` is never used [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum QuetzalError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitVector` is never constructed [INFO] [stdout] --> src/compiler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BitVector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `push`, and `push_bytes` are never used [INFO] [stdout] --> src/compiler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl BitVector { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_capacity(size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn push(&mut self, byte: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn push_bytes(&mut self, bytes: &[u8], mut count: usize) -> Result<(), QuetzalError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn compile(input: &str, output: &str) -> Result<(), QuetzalError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a` is never used [INFO] [stdout] --> src/compiler.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn a() -> Result<(), QuetzalError> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let offset = 1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `temp` is never read [INFO] [stdout] --> src/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Stack { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | frames: Vec>, [INFO] [stdout] 9 | temp: Vec, //holds temporary values, ie during computation of expressions [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stack` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/memory.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn pop(&mut self) -> Result<(), QuetzalError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum Variable { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 80 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] 81 | Float32(f32), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 82 | Float64(f64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 83 | Int8(i8), [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | Int16(i16), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | Int32(i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | Int64(i64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | UInt8(u8), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | UInt16(u16), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | UInt32(u32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | UInt64(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExcessiveFrameSize`, `InputFileNotFound`, `OutputFileNotCreated`, `BadFileRead`, and `NotEnoughBits` are never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum QuetzalError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 6 | EmptyStack, [INFO] [stdout] 7 | ExcessiveFrameSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | ExcessiveStackSize, [INFO] [stdout] 9 | InputFileNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | OutputFileNotCreated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | BadFileRead(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | NotEnoughBits, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuetzalError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitVector` is never constructed [INFO] [stdout] --> src/compiler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BitVector { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capacity`, `push`, and `push_bytes` are never used [INFO] [stdout] --> src/compiler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl BitVector { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_capacity(size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn push(&mut self, byte: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn push_bytes(&mut self, bytes: &[u8], mut count: usize) -> Result<(), QuetzalError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn compile(input: &str, output: &str) -> Result<(), QuetzalError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a` is never used [INFO] [stdout] --> src/compiler.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn a() -> Result<(), QuetzalError> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mem.push(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 8 | let _ = mem.push(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | mem.define(1, var); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = mem.define(1, var); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mem.push(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = mem.push(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "8d92a05d92befff497210f6465a3076b63c9db15e008b69a450fa74e4ffbb348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d92a05d92befff497210f6465a3076b63c9db15e008b69a450fa74e4ffbb348", kill_on_drop: false }` [INFO] [stdout] 8d92a05d92befff497210f6465a3076b63c9db15e008b69a450fa74e4ffbb348