[INFO] cloning repository https://github.com/charliethomson/brust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charliethomson/brust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Fbrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Fbrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c23b9126b31b00ff7ccd367d07164c067f3204c5
[INFO] checking charliethomson/brust against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Fbrust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/charliethomson/brust
[INFO] finished tweaking git repo https://github.com/charliethomson/brust
[INFO] tweaked toml for git repo https://github.com/charliethomson/brust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/charliethomson/brust on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/charliethomson/brust 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e0e8bb599edaf69063caf15db17979c0e22f69956fa74806fdcb31747ccff438
[INFO] running `Command { std: "docker" "start" "-a" "e0e8bb599edaf69063caf15db17979c0e22f69956fa74806fdcb31747ccff438", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0e8bb599edaf69063caf15db17979c0e22f69956fa74806fdcb31747ccff438", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0e8bb599edaf69063caf15db17979c0e22f69956fa74806fdcb31747ccff438", kill_on_drop: false }`
[INFO] [stdout] e0e8bb599edaf69063caf15db17979c0e22f69956fa74806fdcb31747ccff438
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa8e6ecf379359ee34e388996c8b694a2a8408cb7a65406bb20c62d259b03864
[INFO] running `Command { std: "docker" "start" "-a" "fa8e6ecf379359ee34e388996c8b694a2a8408cb7a65406bb20c62d259b03864", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling siphasher v0.3.5
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling pico-args v0.4.1
[INFO] [stderr]    Compiling itertools v0.10.0
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling string_cache v0.8.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling term v0.5.2
[INFO] [stderr]    Compiling ascii-canvas v2.0.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking lalrpop-util v0.19.5
[INFO] [stderr]    Compiling lalrpop v0.19.5
[INFO] [stderr]    Compiling brust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Read, Write};
[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: `ops::BitAnd`
[INFO] [stdout]  --> src/ast.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::BitAnd,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Stdin`, `StdoutLock`, `Stdout`, and `Write`
[INFO] [stdout]  --> src/interpreter.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{Read, Stdin, Stdout, StdoutLock, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^  ^^^^^^  ^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/interpreter.rs:53:23
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 while (s.contains("{}")) {
[INFO] [stdout]    |                       ^                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -                 while (s.contains("{}")) {
[INFO] [stdout] 53 +                 while s.contains("{}")  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Read, Write};
[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: `ops::BitAnd`
[INFO] [stdout]  --> src/ast.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::BitAnd,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Stdin`, `StdoutLock`, `Stdout`, and `Write`
[INFO] [stdout]  --> src/interpreter.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     io::{Read, Stdin, Stdout, StdoutLock, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^  ^^^^^^  ^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/interpreter.rs:53:23
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 while (s.contains("{}")) {
[INFO] [stdout]    |                       ^                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -                 while (s.contains("{}")) {
[INFO] [stdout] 53 +                 while s.contains("{}")  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/interpreter.rs:46:40
[INFO] [stdout]    |
[INFO] [stdout] 46 |                     Some(Const::Vector(mut v)) => v
[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/interpreter.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut variables = HashMap::new();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/interpreter.rs:178:34
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub fn add_extern(&mut self, ident: &Identifier) {}
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switching_on`
[INFO] [stdout]    --> src/interpreter.rs:490:17
[INFO] [stdout]     |
[INFO] [stdout] 490 |                 switching_on,
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: try ignoring the field: `switching_on: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cases`
[INFO] [stdout]    --> src/interpreter.rs:491:17
[INFO] [stdout]     |
[INFO] [stdout] 491 |                 cases,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `cases: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/interpreter.rs:494:30
[INFO] [stdout]     |
[INFO] [stdout] 494 |             Statement::Label(ident) => unimplemented!(),
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/interpreter.rs:495:29
[INFO] [stdout]     |
[INFO] [stdout] 495 |             Statement::Goto(ident) => unimplemented!(),
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/interpreter.rs:509:17
[INFO] [stdout]     |
[INFO] [stdout] 509 |                 ident,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `ident: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_value`
[INFO] [stdout]    --> src/interpreter.rs:510:17
[INFO] [stdout]     |
[INFO] [stdout] 510 |                 initial_value,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: try ignoring the field: `initial_value: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/interpreter.rs:525:13
[INFO] [stdout]     |
[INFO] [stdout] 525 |         let mut buffer = fs::read_to_string(path).unwrap();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/interpreter.rs:526:13
[INFO] [stdout]     |
[INFO] [stdout] 526 |         let mut ast = Parser::new().parse(&buffer).unwrap();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpret_string` is never used
[INFO] [stdout]   --> src/main.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn interpret_string(s: String) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `extern_variables` is never read
[INFO] [stdout]   --> src/interpreter.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Scope {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |     extern_variables: HashMap<Identifier, Option<Const>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_var` is never used
[INFO] [stdout]   --> src/interpreter.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Scope {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93 |     fn has_var(&self, ident: &Identifier) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]    --> src/interpreter.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct Interpreter {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 113 |     buffer: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     stdin().read_line(&mut buffer);
[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] 19 |     let _ = stdin().read_line(&mut buffer);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Interpreter::new().interpret(format!("examples/{}.b", buffer.trim()));
[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] 22 |     let _ = Interpreter::new().interpret(format!("examples/{}.b", buffer.trim()));
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Builtin` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn Builtin() -> Self {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `builtin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Puts` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn Puts() -> Self {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case: `puts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Format` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn Format() -> Self {
[INFO] [stdout]    |            ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/interpreter.rs:46:40
[INFO] [stdout]    |
[INFO] [stdout] 46 |                     Some(Const::Vector(mut v)) => v
[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/interpreter.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut variables = HashMap::new();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/interpreter.rs:178:34
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub fn add_extern(&mut self, ident: &Identifier) {}
[INFO] [stdout]     |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `switching_on`
[INFO] [stdout]    --> src/interpreter.rs:490:17
[INFO] [stdout]     |
[INFO] [stdout] 490 |                 switching_on,
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: try ignoring the field: `switching_on: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cases`
[INFO] [stdout]    --> src/interpreter.rs:491:17
[INFO] [stdout]     |
[INFO] [stdout] 491 |                 cases,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `cases: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/interpreter.rs:494:30
[INFO] [stdout]     |
[INFO] [stdout] 494 |             Statement::Label(ident) => unimplemented!(),
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/interpreter.rs:495:29
[INFO] [stdout]     |
[INFO] [stdout] 495 |             Statement::Goto(ident) => unimplemented!(),
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ident`
[INFO] [stdout]    --> src/interpreter.rs:509:17
[INFO] [stdout]     |
[INFO] [stdout] 509 |                 ident,
[INFO] [stdout]     |                 ^^^^^ help: try ignoring the field: `ident: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_value`
[INFO] [stdout]    --> src/interpreter.rs:510:17
[INFO] [stdout]     |
[INFO] [stdout] 510 |                 initial_value,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: try ignoring the field: `initial_value: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/interpreter.rs:525:13
[INFO] [stdout]     |
[INFO] [stdout] 525 |         let mut buffer = fs::read_to_string(path).unwrap();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/interpreter.rs:526:13
[INFO] [stdout]     |
[INFO] [stdout] 526 |         let mut ast = Parser::new().parse(&buffer).unwrap();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `interpret_string` is never used
[INFO] [stdout]   --> src/main.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn interpret_string(s: String) -> i64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `extern_variables` is never read
[INFO] [stdout]   --> src/interpreter.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Scope {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 70 |     extern_variables: HashMap<Identifier, Option<Const>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_var` is never used
[INFO] [stdout]   --> src/interpreter.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl Scope {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93 |     fn has_var(&self, ident: &Identifier) -> bool {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buffer` is never read
[INFO] [stdout]    --> src/interpreter.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct Interpreter {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 113 |     buffer: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     stdin().read_line(&mut buffer);
[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] 19 |     let _ = stdin().read_line(&mut buffer);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Interpreter::new().interpret(format!("examples/{}.b", buffer.trim()));
[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] 22 |     let _ = Interpreter::new().interpret(format!("examples/{}.b", buffer.trim()));
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Builtin` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn Builtin() -> Self {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `builtin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Puts` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 |     pub fn Puts() -> Self {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case: `puts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Format` should have a snake case name
[INFO] [stdout]   --> src/interpreter.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn Format() -> Self {
[INFO] [stdout]    |            ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "fa8e6ecf379359ee34e388996c8b694a2a8408cb7a65406bb20c62d259b03864", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa8e6ecf379359ee34e388996c8b694a2a8408cb7a65406bb20c62d259b03864", kill_on_drop: false }`
[INFO] [stdout] fa8e6ecf379359ee34e388996c8b694a2a8408cb7a65406bb20c62d259b03864
