[INFO] cloning repository https://github.com/ear7h/mvm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ear7h/mvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fear7h%2Fmvm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fear7h%2Fmvm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 94895c4d35e0138bae17d20f630b2dd4b47ac06c
[INFO] testing ear7h/mvm against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fear7h%2Fmvm" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ear7h/mvm on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4/source/.cargo/config
[INFO] started tweaking git repo https://github.com/ear7h/mvm
[INFO] finished tweaking git repo https://github.com/ear7h/mvm
[INFO] tweaked toml for git repo https://github.com/ear7h/mvm written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/ear7h/mvm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d87324e1b14f1cf48a35c3d320c9b204244ce46ce1c5bb76a7ee868d48d7fc76
[INFO] running `Command { std: "docker" "start" "-a" "d87324e1b14f1cf48a35c3d320c9b204244ce46ce1c5bb76a7ee868d48d7fc76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d87324e1b14f1cf48a35c3d320c9b204244ce46ce1c5bb76a7ee868d48d7fc76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d87324e1b14f1cf48a35c3d320c9b204244ce46ce1c5bb76a7ee868d48d7fc76", kill_on_drop: false }`
[INFO] [stdout] d87324e1b14f1cf48a35c3d320c9b204244ce46ce1c5bb76a7ee868d48d7fc76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 746bd4d8a37af8db4aa2eab2ee43b0a42d202af717f7c2cb86daf4de75667202
[INFO] running `Command { std: "docker" "start" "-a" "746bd4d8a37af8db4aa2eab2ee43b0a42d202af717f7c2cb86daf4de75667202", kill_on_drop: false }`
[INFO] [stderr]    Compiling mvm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/mas.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | / /**
[INFO] [stdout] 132 | |  * Assembler commands. These relate to op codes in the VM, but the op
[INFO] [stdout] 133 | |  * codes are picked implicitly based on the arguments.
[INFO] [stdout] 134 | |  */
[INFO] [stdout]     | |___^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/ast.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |             '0'...'9' => {
[INFO] [stdout]    |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/ast.rs:175:16
[INFO] [stdout]     |
[INFO] [stdout] 175 |             'a'...'z' | 'A'...'Z' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/ast.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |             'a'...'z' | 'A'...'Z' => {
[INFO] [stdout]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/mvm.rs:405:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | /     loop {
[INFO] [stdout] 14  | |
[INFO] [stdout] 15  | |         let op:u8 = memory.get(pc);
[INFO] [stdout] 16  | |         println!("{:?}", Op::from_int(op));
[INFO] [stdout] ...   |
[INFO] [stdout] 402 | |         }
[INFO] [stdout] 403 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 404 |
[INFO] [stdout] 405 |       println!("{:?}", memory.get::<[u8; 32]>(0));
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/mas.rs:308:18
[INFO] [stdout]     |
[INFO] [stdout] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stdout]     |                  ^^^^^^^----------------------------------------------------
[INFO] [stdout]     |                  |      |
[INFO] [stdout]     |                  |      any code following this expression is unreachable
[INFO] [stdout]     |                  unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/mas.rs:203:28
[INFO] [stdout]     |
[INFO] [stdout] 203 |             AsmCmd::PSHW | AsmCmd::POPW => 2,
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/mas.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ops`
[INFO] [stdout]   --> src/mas.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut ops:Vec<Op> = Vec::new();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ops`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mas.rs:95:26
[INFO] [stdout]    |
[INFO] [stdout] 95 |                     Some(addr) => {
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/ast.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     Err(x) => Value::Err(format!("bad address {}", s))
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_str` is never used
[INFO] [stdout]   --> src/op_code.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |               pub fn to_str(&self) -> &'static str {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_string` is never used
[INFO] [stdout]   --> src/op_code.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |               pub fn from_string(s: String) -> Result<$name, String> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MB` is never used
[INFO] [stdout]  --> src/memory.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | const MB:usize = KB * KB;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `alloc_page` is never used
[INFO] [stdout]   --> src/memory.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn alloc_page(&mut self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `free_page` is never used
[INFO] [stdout]   --> src/memory.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn free_page(&mut self, addr:usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `push_addr` is never used
[INFO] [stdout]   --> src/memory.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn push_addr(&mut self, addr: usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pop_addr` is never used
[INFO] [stdout]   --> src/memory.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn pop_addr(&mut self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get1` is never used
[INFO] [stdout]    --> src/memory.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn get1(&self, addr: usize) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/mvm.rs:400:28
[INFO] [stdout]     |
[INFO] [stdout] 400 |             code => panic!(format!("{:?} not implemented", code)),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 400 -             code => panic!(format!("{:?} not implemented", code)),
[INFO] [stdout] 400 +             code => panic!("{:?} not implemented", code),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ast.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let mut res: Result<AstNode, String>;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/mas.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut ops:Vec<Op> = Vec::new();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_int` is never used
[INFO] [stdout]   --> src/op_code.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |               pub fn from_int(i:u8) -> $name {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_str` is never used
[INFO] [stdout]   --> src/op_code.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |               pub fn to_str(&self) -> &'static str {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_string` is never used
[INFO] [stdout]   --> src/op_code.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |               pub fn from_string(s: String) -> Result<$name, String> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KB` is never used
[INFO] [stdout]  --> src/memory.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | const KB:usize = 1024;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MB` is never used
[INFO] [stdout]  --> src/memory.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | const MB:usize = KB * KB;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FAST_SIZE` is never used
[INFO] [stdout]  --> src/memory.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | const FAST_SIZE: usize = 32 * KB;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]  --> src/memory.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | const PAGE_SIZE: usize = 4 * KB;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Memory` is never constructed
[INFO] [stdout]   --> src/memory.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Memory {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/memory.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(code: &[u8]) -> Memory {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `alloc_page` is never used
[INFO] [stdout]   --> src/memory.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn alloc_page(&mut self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `free_page` is never used
[INFO] [stdout]   --> src/memory.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn free_page(&mut self, addr:usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `push_addr` is never used
[INFO] [stdout]   --> src/memory.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn push_addr(&mut self, addr: usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pop_addr` is never used
[INFO] [stdout]   --> src/memory.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn pop_addr(&mut self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get` is never used
[INFO] [stdout]   --> src/memory.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get<T: Clone>(&self, addr: usize) -> T {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get1` is never used
[INFO] [stdout]    --> src/memory.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn get1(&self, addr: usize) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get2` is never used
[INFO] [stdout]    --> src/memory.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub fn get2(&self, addr: usize) -> [usize; 2] {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set` is never used
[INFO] [stdout]    --> src/memory.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn set<T: Clone>(&mut self, addr: usize, val: T) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/mas.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |         panic!(format!("root is not AstNode::Tree, got {:?}", root))
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 79 -         panic!(format!("root is not AstNode::Tree, got {:?}", root))
[INFO] [stdout] 79 +         panic!("root is not AstNode::Tree, got {:?}", root)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/mas.rs:205:25
[INFO] [stdout]     |
[INFO] [stdout] 205 |             _ => panic!(format!("no offset for {}", self))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 205 -             _ => panic!(format!("no offset for {}", self))
[INFO] [stdout] 205 +             _ => panic!("no offset for {}", self)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/mas.rs:308:32
[INFO] [stdout]     |
[INFO] [stdout] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 308 -             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stdout] 308 +             _ => return panic!("{} does not have an op code", cmd1)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/mas.rs:401:25
[INFO] [stdout]     |
[INFO] [stdout] 401 |             _ => panic!(format!("unknown command {:?}", self)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 401 -             _ => panic!(format!("unknown command {:?}", self)),
[INFO] [stdout] 401 +             _ => panic!("unknown command {:?}", self),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `prog2` should have an upper case name
[INFO] [stdout]    --> src/mas.rs:408:7
[INFO] [stdout]     |
[INFO] [stdout] 408 | const prog2:&str = "; program 2
[INFO] [stdout]     |       ^^^^^ help: convert the identifier to upper case: `PROG2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 34 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.79s
[INFO] running `Command { std: "docker" "inspect" "746bd4d8a37af8db4aa2eab2ee43b0a42d202af717f7c2cb86daf4de75667202", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "746bd4d8a37af8db4aa2eab2ee43b0a42d202af717f7c2cb86daf4de75667202", kill_on_drop: false }`
[INFO] [stdout] 746bd4d8a37af8db4aa2eab2ee43b0a42d202af717f7c2cb86daf4de75667202
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e940b5b4edcbbf26d5f1b1b94377519ba1f801c5e39a8c82973a24b31a44726
[INFO] running `Command { std: "docker" "start" "-a" "8e940b5b4edcbbf26d5f1b1b94377519ba1f801c5e39a8c82973a24b31a44726", kill_on_drop: false }`
[INFO] [stderr]    Compiling mvm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/mas.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | / /**
[INFO] [stdout] 132 | |  * Assembler commands. These relate to op codes in the VM, but the op
[INFO] [stdout] 133 | |  * codes are picked implicitly based on the arguments.
[INFO] [stdout] 134 | |  */
[INFO] [stdout]     | |___^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/mvm.rs:405:5
[INFO] [stdout]     |
[INFO] [stdout] 13  | /     loop {
[INFO] [stdout] 14  | |
[INFO] [stdout] 15  | |         let op:u8 = memory.get(pc);
[INFO] [stdout] 16  | |         println!("{:?}", Op::from_int(op));
[INFO] [stdout] ...   |
[INFO] [stdout] 402 | |         }
[INFO] [stdout] 403 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 404 |
[INFO] [stdout] 405 |       println!("{:?}", memory.get::<[u8; 32]>(0));
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/ast.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |             '0'...'9' => {
[INFO] [stdout]    |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_str` is never used
[INFO] [stdout]   --> src/op_code.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |               pub fn to_str(&self) -> &'static str {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/ast.rs:175:16
[INFO] [stdout]     |
[INFO] [stdout] 175 |             'a'...'z' | 'A'...'Z' => {
[INFO] [stdout]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_string` is never used
[INFO] [stdout]   --> src/op_code.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |               pub fn from_string(s: String) -> Result<$name, String> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/ast.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |             'a'...'z' | 'A'...'Z' => {
[INFO] [stdout]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MB` is never used
[INFO] [stdout]  --> src/memory.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | const MB:usize = KB * KB;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `alloc_page` is never used
[INFO] [stdout]   --> src/memory.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn alloc_page(&mut self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/mas.rs:308:18
[INFO] [stdout]     |
[INFO] [stdout] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stdout]     |                  ^^^^^^^----------------------------------------------------
[INFO] [stdout]     |                  |      |
[INFO] [stdout]     |                  |      any code following this expression is unreachable
[INFO] [stdout]     |                  unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `free_page` is never used
[INFO] [stdout]   --> src/memory.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn free_page(&mut self, addr:usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/mas.rs:203:28
[INFO] [stdout]     |
[INFO] [stdout] 203 |             AsmCmd::PSHW | AsmCmd::POPW => 2,
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `push_addr` is never used
[INFO] [stdout]   --> src/memory.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn push_addr(&mut self, addr: usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pop_addr` is never used
[INFO] [stdout]   --> src/memory.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn pop_addr(&mut self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/mas.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get1` is never used
[INFO] [stdout]    --> src/memory.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn get1(&self, addr: usize) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ops`
[INFO] [stdout]   --> src/mas.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut ops:Vec<Op> = Vec::new();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ops`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/mvm.rs:400:28
[INFO] [stdout]     |
[INFO] [stdout] 400 |             code => panic!(format!("{:?} not implemented", code)),
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 400 -             code => panic!(format!("{:?} not implemented", code)),
[INFO] [stdout] 400 +             code => panic!("{:?} not implemented", code),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/mas.rs:95:26
[INFO] [stdout]    |
[INFO] [stdout] 95 |                     Some(addr) => {
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/ast.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     Err(x) => Value::Err(format!("bad address {}", s))
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ast.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let mut res: Result<AstNode, String>;
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/mas.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let mut ops:Vec<Op> = Vec::new();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_int` is never used
[INFO] [stdout]   --> src/op_code.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |               pub fn from_int(i:u8) -> $name {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_str` is never used
[INFO] [stdout]   --> src/op_code.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |               pub fn to_str(&self) -> &'static str {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_string` is never used
[INFO] [stdout]   --> src/op_code.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |               pub fn from_string(s: String) -> Result<$name, String> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 | / dense_enum! { Op;
[INFO] [stdout] 39 | |     // misc
[INFO] [stdout] 40 | |     NOP, XIT,
[INFO] [stdout] 41 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | |     EXT,
[INFO] [stdout] 72 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KB` is never used
[INFO] [stdout]  --> src/memory.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | const KB:usize = 1024;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MB` is never used
[INFO] [stdout]  --> src/memory.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | const MB:usize = KB * KB;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FAST_SIZE` is never used
[INFO] [stdout]  --> src/memory.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | const FAST_SIZE: usize = 32 * KB;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]  --> src/memory.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | const PAGE_SIZE: usize = 4 * KB;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Memory` is never constructed
[INFO] [stdout]   --> src/memory.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Memory {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/memory.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(code: &[u8]) -> Memory {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `alloc_page` is never used
[INFO] [stdout]   --> src/memory.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn alloc_page(&mut self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `free_page` is never used
[INFO] [stdout]   --> src/memory.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn free_page(&mut self, addr:usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `push_addr` is never used
[INFO] [stdout]   --> src/memory.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn push_addr(&mut self, addr: usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pop_addr` is never used
[INFO] [stdout]   --> src/memory.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn pop_addr(&mut self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get` is never used
[INFO] [stdout]   --> src/memory.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get<T: Clone>(&self, addr: usize) -> T {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get1` is never used
[INFO] [stdout]    --> src/memory.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn get1(&self, addr: usize) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get2` is never used
[INFO] [stdout]    --> src/memory.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub fn get2(&self, addr: usize) -> [usize; 2] {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set` is never used
[INFO] [stdout]    --> src/memory.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn set<T: Clone>(&mut self, addr: usize, val: T) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/mas.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |         panic!(format!("root is not AstNode::Tree, got {:?}", root))
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 79 -         panic!(format!("root is not AstNode::Tree, got {:?}", root))
[INFO] [stdout] 79 +         panic!("root is not AstNode::Tree, got {:?}", root)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/mas.rs:205:25
[INFO] [stdout]     |
[INFO] [stdout] 205 |             _ => panic!(format!("no offset for {}", self))
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 205 -             _ => panic!(format!("no offset for {}", self))
[INFO] [stdout] 205 +             _ => panic!("no offset for {}", self)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/mas.rs:308:32
[INFO] [stdout]     |
[INFO] [stdout] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 308 -             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stdout] 308 +             _ => return panic!("{} does not have an op code", cmd1)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/mas.rs:401:25
[INFO] [stdout]     |
[INFO] [stdout] 401 |             _ => panic!(format!("unknown command {:?}", self)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 401 -             _ => panic!(format!("unknown command {:?}", self)),
[INFO] [stdout] 401 +             _ => panic!("unknown command {:?}", self),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `prog2` should have an upper case name
[INFO] [stdout]    --> src/mas.rs:408:7
[INFO] [stdout]     |
[INFO] [stdout] 408 | const prog2:&str = "; program 2
[INFO] [stdout]     |       ^^^^^ help: convert the identifier to upper case: `PROG2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 34 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.71s
[INFO] running `Command { std: "docker" "inspect" "8e940b5b4edcbbf26d5f1b1b94377519ba1f801c5e39a8c82973a24b31a44726", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e940b5b4edcbbf26d5f1b1b94377519ba1f801c5e39a8c82973a24b31a44726", kill_on_drop: false }`
[INFO] [stdout] 8e940b5b4edcbbf26d5f1b1b94377519ba1f801c5e39a8c82973a24b31a44726
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c0fcb13a6e705ab2f88322be6aab6f51cd6ac44e13860ccb1b2fdee38f64ef13
[INFO] running `Command { std: "docker" "start" "-a" "c0fcb13a6e705ab2f88322be6aab6f51cd6ac44e13860ccb1b2fdee38f64ef13", kill_on_drop: false }`
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]    --> src/mvm.rs:405:5
[INFO] [stderr]     |
[INFO] [stderr] 13  | /     loop {
[INFO] [stderr] 14  | |
[INFO] [stderr] 15  | |         let op:u8 = memory.get(pc);
[INFO] [stderr] 16  | |         println!("{:?}", Op::from_int(op));
[INFO] [stderr] ...   |
[INFO] [stderr] 402 | |         }
[INFO] [stderr] 403 | |     }
[INFO] [stderr]     | |_____- any code following this expression is unreachable
[INFO] [stderr] 404 |
[INFO] [stderr] 405 |       println!("{:?}", memory.get::<[u8; 32]>(0));
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `to_str` is never used
[INFO] [stderr]   --> src/op_code.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |               pub fn to_str(&self) -> &'static str {
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 | / dense_enum! { Op;
[INFO] [stderr] 39 | |     // misc
[INFO] [stderr] 40 | |     NOP, XIT,
[INFO] [stderr] 41 | |
[INFO] [stderr] ...  |
[INFO] [stderr] 71 | |     EXT,
[INFO] [stderr] 72 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_string` is never used
[INFO] [stderr]   --> src/op_code.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 |               pub fn from_string(s: String) -> Result<$name, String> {
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 | / dense_enum! { Op;
[INFO] [stderr] 39 | |     // misc
[INFO] [stderr] 40 | |     NOP, XIT,
[INFO] [stderr] 41 | |
[INFO] [stderr] ...  |
[INFO] [stderr] 71 | |     EXT,
[INFO] [stderr] 72 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MB` is never used
[INFO] [stderr]  --> src/memory.rs:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | const MB:usize = KB * KB;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `alloc_page` is never used
[INFO] [stderr]   --> src/memory.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 30 |     pub fn alloc_page(&mut self) -> usize {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `free_page` is never used
[INFO] [stderr]   --> src/memory.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 46 |     pub fn free_page(&mut self, addr:usize) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `push_addr` is never used
[INFO] [stderr]   --> src/memory.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 55 |     pub fn push_addr(&mut self, addr: usize) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `pop_addr` is never used
[INFO] [stderr]   --> src/memory.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 61 |     pub fn pop_addr(&mut self) -> usize {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get1` is never used
[INFO] [stderr]    --> src/memory.rs:107:12
[INFO] [stderr]     |
[INFO] [stderr] 107 |     pub fn get1(&self, addr: usize) -> usize {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/mvm.rs:400:28
[INFO] [stderr]     |
[INFO] [stderr] 400 |             code => panic!(format!("{:?} not implemented", code)),
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 400 -             code => panic!(format!("{:?} not implemented", code)),
[INFO] [stderr] 400 +             code => panic!("{:?} not implemented", code),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `mvm` (bin "mvm" test) generated 10 warnings
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/mas.rs:131:1
[INFO] [stderr]     |
[INFO] [stderr] 131 | / /**
[INFO] [stderr] 132 | |  * Assembler commands. These relate to op codes in the VM, but the op
[INFO] [stderr] 133 | |  * codes are picked implicitly based on the arguments.
[INFO] [stderr] 134 | |  */
[INFO] [stderr]     | |___^ rustdoc does not generate documentation for macro invocations
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/ast.rs:19:16
[INFO] [stderr]    |
[INFO] [stderr] 19 |             '0'...'9' => {
[INFO] [stderr]    |                ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/ast.rs:175:16
[INFO] [stderr]     |
[INFO] [stderr] 175 |             'a'...'z' | 'A'...'Z' => {
[INFO] [stderr]     |                ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/ast.rs:175:28
[INFO] [stderr]     |
[INFO] [stderr] 175 |             'a'...'z' | 'A'...'Z' => {
[INFO] [stderr]     |                            ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]    --> src/mas.rs:308:18
[INFO] [stderr]     |
[INFO] [stderr] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stderr]     |                  ^^^^^^^----------------------------------------------------
[INFO] [stderr]     |                  |      |
[INFO] [stderr]     |                  |      any code following this expression is unreachable
[INFO] [stderr]     |                  unreachable expression
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/mas.rs:203:28
[INFO] [stderr]     |
[INFO] [stderr] 203 |             AsmCmd::PSHW | AsmCmd::POPW => 2,
[INFO] [stderr]     |                            ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/mas.rs:308:13
[INFO] [stderr]     |
[INFO] [stderr] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stderr]     |             ^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ops`
[INFO] [stderr]   --> src/mas.rs:69:13
[INFO] [stderr]    |
[INFO] [stderr] 69 |     let mut ops:Vec<Op> = Vec::new();
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ops`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> src/mas.rs:95:26
[INFO] [stderr]    |
[INFO] [stderr] 95 |                     Some(addr) => {
[INFO] [stderr]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/ast.rs:38:25
[INFO] [stderr]    |
[INFO] [stderr] 38 |                     Err(x) => Value::Err(format!("bad address {}", s))
[INFO] [stderr]    |                         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/ast.rs:173:13
[INFO] [stderr]     |
[INFO] [stderr] 173 |         let mut res: Result<AstNode, String>;
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/mas.rs:69:9
[INFO] [stderr]    |
[INFO] [stderr] 69 |     let mut ops:Vec<Op> = Vec::new();
[INFO] [stderr]    |         ----^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_int` is never used
[INFO] [stderr]   --> src/op_code.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 |               pub fn from_int(i:u8) -> $name {
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 | / dense_enum! { Op;
[INFO] [stderr] 39 | |     // misc
[INFO] [stderr] 40 | |     NOP, XIT,
[INFO] [stderr] 41 | |
[INFO] [stderr] ...  |
[INFO] [stderr] 71 | |     EXT,
[INFO] [stderr] 72 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `to_str` is never used
[INFO] [stderr]   --> src/op_code.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |               pub fn to_str(&self) -> &'static str {
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 | / dense_enum! { Op;
[INFO] [stderr] 39 | |     // misc
[INFO] [stderr] 40 | |     NOP, XIT,
[INFO] [stderr] 41 | |
[INFO] [stderr] ...  |
[INFO] [stderr] 71 | |     EXT,
[INFO] [stderr] 72 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `dense_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: constant `KB` is never used
[INFO] [stderr]  --> src/memory.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | const KB:usize = 1024;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FAST_SIZE` is never used
[INFO] [stderr]  --> src/memory.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | const FAST_SIZE: usize = 32 * KB;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PAGE_SIZE` is never used
[INFO] [stderr]  --> src/memory.rs:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | const PAGE_SIZE: usize = 4 * KB;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Memory` is never constructed
[INFO] [stderr]   --> src/memory.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct Memory {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/memory.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 18 |     pub fn new(code: &[u8]) -> Memory {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get` is never used
[INFO] [stderr]   --> src/memory.rs:66:12
[INFO] [stderr]    |
[INFO] [stderr] 66 |     pub fn get<T: Clone>(&self, addr: usize) -> T {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get2` is never used
[INFO] [stderr]    --> src/memory.rs:111:12
[INFO] [stderr]     |
[INFO] [stderr] 111 |     pub fn get2(&self, addr: usize) -> [usize; 2] {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `set` is never used
[INFO] [stderr]    --> src/memory.rs:115:12
[INFO] [stderr]     |
[INFO] [stderr] 115 |     pub fn set<T: Clone>(&mut self, addr: usize, val: T) {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/mas.rs:79:16
[INFO] [stderr]    |
[INFO] [stderr] 79 |         panic!(format!("root is not AstNode::Tree, got {:?}", root))
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr]    = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 79 -         panic!(format!("root is not AstNode::Tree, got {:?}", root))
[INFO] [stderr] 79 +         panic!("root is not AstNode::Tree, got {:?}", root)
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/mas.rs:205:25
[INFO] [stderr]     |
[INFO] [stderr] 205 |             _ => panic!(format!("no offset for {}", self))
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 205 -             _ => panic!(format!("no offset for {}", self))
[INFO] [stderr] 205 +             _ => panic!("no offset for {}", self)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/mas.rs:308:32
[INFO] [stderr]     |
[INFO] [stderr] 308 |             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 308 -             _ => return panic!(format!("{} does not have an op code", cmd1))
[INFO] [stderr] 308 +             _ => return panic!("{} does not have an op code", cmd1)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/mas.rs:401:25
[INFO] [stderr]     |
[INFO] [stderr] 401 |             _ => panic!(format!("unknown command {:?}", self)),
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 401 -             _ => panic!(format!("unknown command {:?}", self)),
[INFO] [stderr] 401 +             _ => panic!("unknown command {:?}", self),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: constant `prog2` should have an upper case name
[INFO] [stderr]    --> src/mas.rs:408:7
[INFO] [stderr]     |
[INFO] [stderr] 408 | const prog2:&str = "; program 2
[INFO] [stderr]     |       ^^^^^ help: convert the identifier to upper case: `PROG2`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mvm` (bin "mas" test) generated 34 warnings (7 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/mas.rs (/opt/rustwide/target/debug/deps/mas-61056800850fd091)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/mvm.rs (/opt/rustwide/target/debug/deps/mvm-ee5cff99c9cba4d8)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c0fcb13a6e705ab2f88322be6aab6f51cd6ac44e13860ccb1b2fdee38f64ef13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0fcb13a6e705ab2f88322be6aab6f51cd6ac44e13860ccb1b2fdee38f64ef13", kill_on_drop: false }`
[INFO] [stdout] c0fcb13a6e705ab2f88322be6aab6f51cd6ac44e13860ccb1b2fdee38f64ef13
