[INFO] cloning repository https://github.com/justinas/mylang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justinas/mylang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinas%2Fmylang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinas%2Fmylang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86e92c585be15717e552d909c35e8be0b6938d04
[INFO] checking justinas/mylang against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustinas%2Fmylang" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/justinas/mylang
[INFO] finished tweaking git repo https://github.com/justinas/mylang
[INFO] tweaked toml for git repo https://github.com/justinas/mylang written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/justinas/mylang on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/justinas/mylang 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7be641d54e11c5a478df67f2d9f9284c0c933b35c63ed566bb7d90fe0b7b1890
[INFO] running `Command { std: "docker" "start" "-a" "7be641d54e11c5a478df67f2d9f9284c0c933b35c63ed566bb7d90fe0b7b1890", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7be641d54e11c5a478df67f2d9f9284c0c933b35c63ed566bb7d90fe0b7b1890", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7be641d54e11c5a478df67f2d9f9284c0c933b35c63ed566bb7d90fe0b7b1890", kill_on_drop: false }`
[INFO] [stdout] 7be641d54e11c5a478df67f2d9f9284c0c933b35c63ed566bb7d90fe0b7b1890
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b5e76880a6724c02972834d8ff55c995d935237e2d25e02a11d05fcc3590718d
[INFO] running `Command { std: "docker" "start" "-a" "b5e76880a6724c02972834d8ff55c995d935237e2d25e02a11d05fcc3590718d", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking byteorder v1.0.0
[INFO] [stderr]     Checking mylang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Entry`
[INFO] [stdout]  --> src/codegen/mod.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::{Entry, HashMap};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/codegen/mod.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             try!(writer.write(&buf));
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/codegen/gen.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn gen(&self, &mut Context) -> Result<Vec<Instruction>, Error>;
[INFO] [stdout]    |                   ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Atom`, `Block`, `Conditional`, `Expr`, `FnItem`, `IfStmt`, `Operation`, `Stmt`, `Type`, `WhileStmt`, and `self`
[INFO] [stdout]  --> src/codegen/test.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::super::parser::{self, Atom, Block, Conditional, Expr, FnItem, IfStmt, Operation, Stmt,
[INFO] [stdout]   |                            ^^^^  ^^^^  ^^^^^  ^^^^^^^^^^^  ^^^^  ^^^^^^  ^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 2 |                            Type, WhileStmt};
[INFO] [stdout]   |                            ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context`, `Gen`, `Program`, `Symbol`, and `Typed`
[INFO] [stdout]  --> src/codegen/test.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::{Context, Gen, Program, Symbol, Typed};
[INFO] [stdout]   |             ^^^^^^^  ^^^  ^^^^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Error`
[INFO] [stdout]  --> src/codegen/test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Instruction`
[INFO] [stdout]  --> src/codegen/test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::Instruction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Instruction::*`
[INFO] [stdout]  --> src/codegen/test.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::Instruction::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Marker`
[INFO] [stdout]  --> src/codegen/test.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::Marker;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::parse_program`
[INFO] [stdout]  --> src/codegen/test.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::parse_program;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `empty_fn`
[INFO] [stdout]   --> src/codegen/test.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | macro_rules! empty_fn {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Lines`
[INFO] [stdout]  --> src/lexer/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lexer/mod.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |         try!(r.read_to_string(&mut contents));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:194:32
[INFO] [stdout]     |
[INFO] [stdout] 194 | ...                   '0'...'9' => self.lex_const(true),
[INFO] [stdout]     |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:300:20
[INFO] [stdout]     |
[INFO] [stdout] 300 |                 '0'...'9' => self.lex_const(false),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:301:20
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 'A'...'Z' | 'a'...'z' => self.lex_ident(),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:301:32
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 'A'...'Z' | 'a'...'z' => self.lex_ident(),
[INFO] [stdout]     |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:338:20
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 '0'...'9' => val.push(self.chars.next().unwrap()),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:339:20
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 'A'...'Z' | 'a'...'z' => return Err(ErrorVariant::UnknownCharacter),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:339:32
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 'A'...'Z' | 'a'...'z' => return Err(ErrorVariant::UnknownCharacter),
[INFO] [stdout]     |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:354:20
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 'A'...'Z' | 'a'...'z' | '0'...'9' => ident.push(self.chars.next().unwrap()),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:354:32
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 'A'...'Z' | 'a'...'z' | '0'...'9' => ident.push(self.chars.next().unwrap()),
[INFO] [stdout]     |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:354:44
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 'A'...'Z' | 'a'...'z' | '0'...'9' => ident.push(self.chars.next().unwrap()),
[INFO] [stdout]     |                                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/lexer/test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/parser/mod.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         try!(write!(f, r#"Function {:?} ( "#, self.name));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/parser/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             try!(write!(f, r"{:?} {:?} ", param.typ, param.name));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Keyword` and `TokenAt`
[INFO] [stdout]  --> src/parser/expr.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{Delimiter, Keyword, Operator, Token, TokenAt};
[INFO] [stdout]   |                        ^^^^^^^                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/parser/test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `parse_atom`, `parse_comparison`, `parse_logexpr`, `parse_product`, and `parse_sum`
[INFO] [stdout]  --> src/parser/test.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::expr::{parse_atom, parse_comparison, parse_logexpr, parse_product, parse_sum};
[INFO] [stdout]   |                   ^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Instruction`
[INFO] [stdout]  --> src/vm/test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::Instruction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Instruction::*`
[INFO] [stdout]  --> src/vm/test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::Instruction::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Machine`
[INFO] [stdout]  --> src/vm/test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::Machine;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::super::codegen::Program`
[INFO] [stdout]  --> src/vm/test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::super::codegen::Program;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::STACK_SIZE`
[INFO] [stdout]  --> src/vm/test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::STACK_SIZE;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Entry`
[INFO] [stdout]  --> src/codegen/mod.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::hash_map::{Entry, HashMap};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/codegen/mod.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             try!(writer.write(&buf));
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/codegen/gen.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn gen(&self, &mut Context) -> Result<Vec<Instruction>, Error>;
[INFO] [stdout]    |                   ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Context`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Operation`
[INFO] [stdout]    --> src/codegen/gen.rs:326:51
[INFO] [stdout]     |
[INFO] [stdout] 326 |     use super::super::super::parser::{Atom, Expr, Operation, Type};
[INFO] [stdout]     |                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Lines`
[INFO] [stdout]  --> src/lexer/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Lines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/lexer/mod.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |         try!(r.read_to_string(&mut contents));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:194:32
[INFO] [stdout]     |
[INFO] [stdout] 194 | ...                   '0'...'9' => self.lex_const(true),
[INFO] [stdout]     |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:300:20
[INFO] [stdout]     |
[INFO] [stdout] 300 |                 '0'...'9' => self.lex_const(false),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:301:20
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 'A'...'Z' | 'a'...'z' => self.lex_ident(),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:301:32
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 'A'...'Z' | 'a'...'z' => self.lex_ident(),
[INFO] [stdout]     |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:338:20
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 '0'...'9' => val.push(self.chars.next().unwrap()),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:339:20
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 'A'...'Z' | 'a'...'z' => return Err(ErrorVariant::UnknownCharacter),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:339:32
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 'A'...'Z' | 'a'...'z' => return Err(ErrorVariant::UnknownCharacter),
[INFO] [stdout]     |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:354:20
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 'A'...'Z' | 'a'...'z' | '0'...'9' => ident.push(self.chars.next().unwrap()),
[INFO] [stdout]     |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:354:32
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 'A'...'Z' | 'a'...'z' | '0'...'9' => ident.push(self.chars.next().unwrap()),
[INFO] [stdout]     |                                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lexer/mod.rs:354:44
[INFO] [stdout]     |
[INFO] [stdout] 354 |                 'A'...'Z' | 'a'...'z' | '0'...'9' => ident.push(self.chars.next().unwrap()),
[INFO] [stdout]     |                                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/parser/mod.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         try!(write!(f, r#"Function {:?} ( "#, self.name));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/parser/mod.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             try!(write!(f, r"{:?} {:?} ", param.typ, param.name));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Keyword` and `TokenAt`
[INFO] [stdout]  --> src/parser/expr.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::{Delimiter, Keyword, Operator, Token, TokenAt};
[INFO] [stdout]   |                        ^^^^^^^                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut machine = vm::Machine::new(&bytes);
[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: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         Err((t, e)) => {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/codegen/mod.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |     funcs.sort_by(|a, b| if a.name == "main" {
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/codegen/gen.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 for a in args.iter() {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/codegen/gen.rs:254:19
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn typ(&self, ctx: &mut Context) -> Result<Type, Error> {
[INFO] [stdout]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/lexer/mod.rs:278:31
[INFO] [stdout]     |
[INFO] [stdout] 278 |                         Some(&c) => Err(ErrorVariant::Expected('&')),
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/lexer/mod.rs:290:31
[INFO] [stdout]     |
[INFO] [stdout] 290 |                         Some(&c) => Err(ErrorVariant::Expected('|')),
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/lexer/mod.rs:309:17
[INFO] [stdout]     |
[INFO] [stdout] 309 |                 c => return Err((tokens, self.error(ErrorVariant::UnknownCharacter))),
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remain`
[INFO] [stdout]    --> src/parser/mod.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |             (None, remain) => return Err(()),
[INFO] [stdout]     |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `push_symbol` are never used
[INFO] [stdout]    --> src/codegen/mod.rs:88:8
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl<'a> Context<'a> {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout]  88 |     fn new() -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn push_symbol(&mut self, symbol: Symbol) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             write!(stderr(), "Usage: ./mylang [filename]");
[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] 21 |             let _ = write!(stderr(), "Usage: ./mylang [filename]");
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             write!(stderr(), "Error while opening {}: {}", filename, e);
[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] 29 |             let _ = write!(stderr(), "Error while opening {}: {}", filename, e);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             write!(stderr(), "Lexer I/O error: {:?}", e);
[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] 37 |             let _ = write!(stderr(), "Lexer I/O error: {:?}", e);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             write!(stderr(), "{}", e);
[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] 45 |             let _ = write!(stderr(), "{}", e);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             write!(stderr(), "Syntax error.");
[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] 54 |             let _ = write!(stderr(), "Syntax error.");
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             write!(stderr(), "{:?}", e);
[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] 65 |             let _ = write!(stderr(), "{:?}", e);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser/mod.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         write!(f, ")\n");
[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] 48 |         let _ = write!(f, ")\n");
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser/mod.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         write!(f, "{:#?}\n", self.block);
[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] 49 |         let _ = write!(f, "{:#?}\n", self.block);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/parser/expr.rs:53:41
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Some(&Token::Op(ref o)) => o.clone(),
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `Operator` does not implement `Clone`, so calling `clone` on `&Operator` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 53 -             Some(&Token::Op(ref o)) => o.clone(),
[INFO] [stdout] 53 +             Some(&Token::Op(ref o)) => o,
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `Operator`, implement `Clone` for it
[INFO] [stdout]   --> src/lexer/mod.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 + #[derive(Clone)]
[INFO] [stdout] 69 | pub enum Operator {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/parser/expr.rs:82:41
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Some(&Token::Op(ref o)) => o.clone(),
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `Operator` does not implement `Clone`, so calling `clone` on `&Operator` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 82 -             Some(&Token::Op(ref o)) => o.clone(),
[INFO] [stdout] 82 +             Some(&Token::Op(ref o)) => o,
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `Operator`, implement `Clone` for it
[INFO] [stdout]   --> src/lexer/mod.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 + #[derive(Clone)]
[INFO] [stdout] 69 | pub enum Operator {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut machine = vm::Machine::new(&bytes);
[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: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         Err((t, e)) => {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/codegen/mod.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |     funcs.sort_by(|a, b| if a.name == "main" {
[INFO] [stdout]    |                       ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/codegen/gen.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 for a in args.iter() {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/codegen/gen.rs:254:19
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn typ(&self, ctx: &mut Context) -> Result<Type, Error> {
[INFO] [stdout]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/lexer/mod.rs:278:31
[INFO] [stdout]     |
[INFO] [stdout] 278 |                         Some(&c) => Err(ErrorVariant::Expected('&')),
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/lexer/mod.rs:290:31
[INFO] [stdout]     |
[INFO] [stdout] 290 |                         Some(&c) => Err(ErrorVariant::Expected('|')),
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/lexer/mod.rs:309:17
[INFO] [stdout]     |
[INFO] [stdout] 309 |                 c => return Err((tokens, self.error(ErrorVariant::UnknownCharacter))),
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remain`
[INFO] [stdout]    --> src/parser/mod.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |             (None, remain) => return Err(()),
[INFO] [stdout]     |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push_symbol` is never used
[INFO] [stdout]    --> src/codegen/mod.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout]  87 | impl<'a> Context<'a> {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn push_symbol(&mut self, symbol: Symbol) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             write!(stderr(), "Usage: ./mylang [filename]");
[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] 21 |             let _ = write!(stderr(), "Usage: ./mylang [filename]");
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |             write!(stderr(), "Error while opening {}: {}", filename, e);
[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] 29 |             let _ = write!(stderr(), "Error while opening {}: {}", filename, e);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             write!(stderr(), "Lexer I/O error: {:?}", e);
[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] 37 |             let _ = write!(stderr(), "Lexer I/O error: {:?}", e);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             write!(stderr(), "{}", e);
[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] 45 |             let _ = write!(stderr(), "{}", e);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             write!(stderr(), "Syntax error.");
[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] 54 |             let _ = write!(stderr(), "Syntax error.");
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             write!(stderr(), "{:?}", e);
[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] 65 |             let _ = write!(stderr(), "{:?}", e);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser/mod.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         write!(f, ")\n");
[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] 48 |         let _ = write!(f, ")\n");
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser/mod.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         write!(f, "{:#?}\n", self.block);
[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] 49 |         let _ = write!(f, "{:#?}\n", self.block);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/parser/expr.rs:53:41
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Some(&Token::Op(ref o)) => o.clone(),
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `lexer::Operator` does not implement `Clone`, so calling `clone` on `&lexer::Operator` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 53 -             Some(&Token::Op(ref o)) => o.clone(),
[INFO] [stdout] 53 +             Some(&Token::Op(ref o)) => o,
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `lexer::Operator`, implement `Clone` for it
[INFO] [stdout]   --> src/lexer/mod.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 + #[derive(Clone)]
[INFO] [stdout] 69 | pub enum Operator {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/parser/expr.rs:82:41
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Some(&Token::Op(ref o)) => o.clone(),
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `lexer::Operator` does not implement `Clone`, so calling `clone` on `&lexer::Operator` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 82 -             Some(&Token::Op(ref o)) => o.clone(),
[INFO] [stdout] 82 +             Some(&Token::Op(ref o)) => o,
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `lexer::Operator`, implement `Clone` for it
[INFO] [stdout]   --> src/lexer/mod.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 + #[derive(Clone)]
[INFO] [stdout] 69 | pub enum Operator {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] running `Command { std: "docker" "inspect" "b5e76880a6724c02972834d8ff55c995d935237e2d25e02a11d05fcc3590718d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5e76880a6724c02972834d8ff55c995d935237e2d25e02a11d05fcc3590718d", kill_on_drop: false }`
[INFO] [stdout] b5e76880a6724c02972834d8ff55c995d935237e2d25e02a11d05fcc3590718d
