[INFO] cloning repository https://github.com/kevinclancy/MaMaRust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevinclancy/MaMaRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinclancy%2FMaMaRust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinclancy%2FMaMaRust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a8a3c3ab8610e560bba42d65f282803e23b966c6
[INFO] testing kevinclancy/MaMaRust against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinclancy%2FMaMaRust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kevinclancy/MaMaRust
[INFO] finished tweaking git repo https://github.com/kevinclancy/MaMaRust
[INFO] tweaked toml for git repo https://github.com/kevinclancy/MaMaRust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kevinclancy/MaMaRust on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kevinclancy/MaMaRust 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5282e2f0974af9dfe54631d0c79623774555474bd581834839cdb96c21ddf21e
[INFO] running `Command { std: "docker" "start" "-a" "5282e2f0974af9dfe54631d0c79623774555474bd581834839cdb96c21ddf21e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5282e2f0974af9dfe54631d0c79623774555474bd581834839cdb96c21ddf21e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5282e2f0974af9dfe54631d0c79623774555474bd581834839cdb96c21ddf21e", kill_on_drop: false }`
[INFO] [stdout] 5282e2f0974af9dfe54631d0c79623774555474bd581834839cdb96c21ddf21e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c2cb6e09aea381d23244b4379183216fed91520bff7b9f8375467c71a66d66e
[INFO] running `Command { std: "docker" "start" "-a" "0c2cb6e09aea381d23244b4379183216fed91520bff7b9f8375467c71a66d66e", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling chumsky v0.9.3
[INFO] [stderr]    Compiling mama_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]  --> src/heap.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{mem::swap, slice};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `virtual_machine::VirtualMachine`
[INFO] [stdout]  --> src/heap.rs:3:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{virtual_machine::CodeAddr, virtual_machine::VirtualMachine};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Heap`
[INFO] [stdout]  --> src/virtual_machine.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::heap::{Heap, HeapAddr};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `add`, `get_basic`, `sub`, and `symbolic_addr`
[INFO] [stdout]  --> src/gen_code.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{code_builder::{add, get_basic, load_c, mk_basic, mk_vec, sub, symbolic_addr}, syntax::{Expr, MatchCase, Pattern, Prog, Sp...
[INFO] [stdout]   |                            ^^^  ^^^^^^^^^                            ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctxt`
[INFO] [stdout]    --> src/gen_code.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 |     ctxt: &Context,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr_gen`
[INFO] [stdout]    --> src/gen_code.rs:210:5
[INFO] [stdout]     |
[INFO] [stdout] 210 |     addr_gen: &mut AddressGenerator,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/gen_code.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     expr: &Expr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stack_level`
[INFO] [stdout]    --> src/gen_code.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 212 |     stack_level: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_code.rs:841:9
[INFO] [stdout]     |
[INFO] [stdout] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_code.rs:841:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |         Expr::Int(n, _) => {
[INFO] [stdout]     |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 318 |         Expr::Plus(e1, e2, _) => {
[INFO] [stdout]     |         --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 321 |         Expr::Minus(e1, e2, _) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 324 |         Expr::Times(e1, e2, _) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stdout]     |         ^ ...and 18 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.76s
[INFO] running `Command { std: "docker" "inspect" "0c2cb6e09aea381d23244b4379183216fed91520bff7b9f8375467c71a66d66e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c2cb6e09aea381d23244b4379183216fed91520bff7b9f8375467c71a66d66e", kill_on_drop: false }`
[INFO] [stdout] 0c2cb6e09aea381d23244b4379183216fed91520bff7b9f8375467c71a66d66e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9985694e112cfe2fea43bdc75850f1652ebb87a8548ef21cf3b634f9247a34f2
[INFO] running `Command { std: "docker" "start" "-a" "9985694e112cfe2fea43bdc75850f1652ebb87a8548ef21cf3b634f9247a34f2", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]  --> src/heap.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{mem::swap, slice};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `virtual_machine::VirtualMachine`
[INFO] [stdout]  --> src/heap.rs:3:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{virtual_machine::CodeAddr, virtual_machine::VirtualMachine};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Heap`
[INFO] [stdout]  --> src/virtual_machine.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::heap::{Heap, HeapAddr};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `add`, `get_basic`, `sub`, and `symbolic_addr`
[INFO] [stdout]  --> src/gen_code.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{code_builder::{add, get_basic, load_c, mk_basic, mk_vec, sub, symbolic_addr}, syntax::{Expr, MatchCase, Pattern, Prog, Sp...
[INFO] [stdout]   |                            ^^^  ^^^^^^^^^                            ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctxt`
[INFO] [stdout]    --> src/gen_code.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 |     ctxt: &Context,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr_gen`
[INFO] [stdout]    --> src/gen_code.rs:210:5
[INFO] [stdout]     |
[INFO] [stdout] 210 |     addr_gen: &mut AddressGenerator,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/gen_code.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     expr: &Expr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stack_level`
[INFO] [stdout]    --> src/gen_code.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 212 |     stack_level: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_code.rs:841:9
[INFO] [stdout]     |
[INFO] [stdout] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_code.rs:841:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |         Expr::Int(n, _) => {
[INFO] [stdout]     |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 318 |         Expr::Plus(e1, e2, _) => {
[INFO] [stdout]     |         --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 321 |         Expr::Minus(e1, e2, _) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 324 |         Expr::Times(e1, e2, _) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stdout]     |         ^ ...and 18 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mama_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Expr` and `Ty`
[INFO] [stdout]  --> tests/virtual_machine_tests.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mama_rust::syntax::{Ty, Expr};
[INFO] [stdout]   |                         ^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddressGenerator`, `Context`, and `code_v`
[INFO] [stdout]  --> tests/virtual_machine_tests.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use mama_rust::gen_code::{code_v, gen_code_prog, AddressGenerator, Context};
[INFO] [stdout]   |                           ^^^^^^                 ^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse_expr`
[INFO] [stdout]  --> tests/virtual_machine_tests.rs:5:29
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mama_rust::test_utils::{parse_expr, parse_prog};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]   --> tests/virtual_machine_tests.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let (ty, code) = gen_code_prog(&prog).unwrap();
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]  --> src/heap.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{mem::swap, slice};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `virtual_machine::VirtualMachine`
[INFO] [stdout]  --> src/heap.rs:3:40
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{virtual_machine::CodeAddr, virtual_machine::VirtualMachine};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Heap`
[INFO] [stdout]  --> src/virtual_machine.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::heap::{Heap, HeapAddr};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `add`, `get_basic`, `sub`, and `symbolic_addr`
[INFO] [stdout]  --> src/gen_code.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{code_builder::{add, get_basic, load_c, mk_basic, mk_vec, sub, symbolic_addr}, syntax::{Expr, MatchCase, Pattern, Prog, Sp...
[INFO] [stdout]   |                            ^^^  ^^^^^^^^^                            ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/heap.rs:434:11
[INFO] [stdout]     |
[INFO] [stdout] 434 |       let mut basic_addr = heap.new_basic(3, [].iter_mut());
[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: unreachable pattern
[INFO] [stdout]    --> src/parser.rs:736:21
[INFO] [stdout]     |
[INFO] [stdout] 735 |                     MatchCase { when_cond, .. } => assert!(when_cond.is_some()),
[INFO] [stdout]     |                     --------------------------- matches any value
[INFO] [stdout] 736 |                     _ => panic!("Expected ConstructorCase with guard"),
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctxt`
[INFO] [stdout]    --> src/gen_code.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 |     ctxt: &Context,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr_gen`
[INFO] [stdout]    --> src/gen_code.rs:210:5
[INFO] [stdout]     |
[INFO] [stdout] 210 |     addr_gen: &mut AddressGenerator,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_gen`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]    --> src/gen_code.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     expr: &Expr,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stack_level`
[INFO] [stdout]    --> src/gen_code.rs:212:5
[INFO] [stdout]     |
[INFO] [stdout] 212 |     stack_level: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/gen_code.rs:841:9
[INFO] [stdout]     |
[INFO] [stdout] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stdout]     |         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/gen_code.rs:841:9
[INFO] [stdout]     |
[INFO] [stdout] 312 |         Expr::Int(n, _) => {
[INFO] [stdout]     |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 318 |         Expr::Plus(e1, e2, _) => {
[INFO] [stdout]     |         --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 321 |         Expr::Minus(e1, e2, _) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 324 |         Expr::Times(e1, e2, _) => {
[INFO] [stdout]     |         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stdout]     |         ^ ...and 18 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.10s
[INFO] running `Command { std: "docker" "inspect" "9985694e112cfe2fea43bdc75850f1652ebb87a8548ef21cf3b634f9247a34f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9985694e112cfe2fea43bdc75850f1652ebb87a8548ef21cf3b634f9247a34f2", kill_on_drop: false }`
[INFO] [stdout] 9985694e112cfe2fea43bdc75850f1652ebb87a8548ef21cf3b634f9247a34f2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 46e2e09a2b21196271ac7fbc84d79e7fbc5ba4dab53214e96228ef68cc101d5d
[INFO] running `Command { std: "docker" "start" "-a" "46e2e09a2b21196271ac7fbc84d79e7fbc5ba4dab53214e96228ef68cc101d5d", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `slice`
[INFO] [stderr]  --> src/heap.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{mem::swap, slice};
[INFO] [stderr]   |                      ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `virtual_machine::VirtualMachine`
[INFO] [stderr]  --> src/heap.rs:3:40
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::{virtual_machine::CodeAddr, virtual_machine::VirtualMachine};
[INFO] [stderr]   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Heap`
[INFO] [stderr]  --> src/virtual_machine.rs:1:19
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::heap::{Heap, HeapAddr};
[INFO] [stderr]   |                   ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `add`, `get_basic`, `sub`, and `symbolic_addr`
[INFO] [stderr]  --> src/gen_code.rs:1:28
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{code_builder::{add, get_basic, load_c, mk_basic, mk_vec, sub, symbolic_addr}, syntax::{Expr, MatchCase, Pattern, Prog, Sp...
[INFO] [stderr]   |                            ^^^  ^^^^^^^^^                            ^^^  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctxt`
[INFO] [stderr]    --> src/gen_code.rs:209:5
[INFO] [stderr]     |
[INFO] [stderr] 209 |     ctxt: &Context,
[INFO] [stderr]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr_gen`
[INFO] [stderr]    --> src/gen_code.rs:210:5
[INFO] [stderr]     |
[INFO] [stderr] 210 |     addr_gen: &mut AddressGenerator,
[INFO] [stderr]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addr_gen`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `expr`
[INFO] [stderr]    --> src/gen_code.rs:211:5
[INFO] [stderr]     |
[INFO] [stderr] 211 |     expr: &Expr,
[INFO] [stderr]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `stack_level`
[INFO] [stderr]    --> src/gen_code.rs:212:5
[INFO] [stderr]     |
[INFO] [stderr] 212 |     stack_level: u8,
[INFO] [stderr]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_level`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/gen_code.rs:841:9
[INFO] [stderr]     |
[INFO] [stderr] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stderr]     |         ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/gen_code.rs:841:9
[INFO] [stderr]     |
[INFO] [stderr] 312 |         Expr::Int(n, _) => {
[INFO] [stderr]     |         --------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 318 |         Expr::Plus(e1, e2, _) => {
[INFO] [stderr]     |         --------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 321 |         Expr::Minus(e1, e2, _) => {
[INFO] [stderr]     |         ---------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 324 |         Expr::Times(e1, e2, _) => {
[INFO] [stderr]     |         ---------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stderr]     |         ^ ...and 18 other patterns collectively make this unreachable
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/heap.rs:434:11
[INFO] [stderr]     |
[INFO] [stderr] 434 |       let mut basic_addr = heap.new_basic(3, [].iter_mut());
[INFO] [stderr]     |           ----^^^^^^^^^^
[INFO] [stderr]     |           |
[INFO] [stderr]     |           help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/parser.rs:736:21
[INFO] [stderr]     |
[INFO] [stderr] 735 |                     MatchCase { when_cond, .. } => assert!(when_cond.is_some()),
[INFO] [stderr]     |                     --------------------------- matches any value
[INFO] [stderr] 736 |                     _ => panic!("Expected ConstructorCase with guard"),
[INFO] [stderr]     |                     ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/gen_code.rs:841:9
[INFO] [stderr]     |
[INFO] [stderr] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stderr]     |         ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/gen_code.rs:841:9
[INFO] [stderr]     |
[INFO] [stderr] 312 |         Expr::Int(n, _) => {
[INFO] [stderr]     |         --------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 318 |         Expr::Plus(e1, e2, _) => {
[INFO] [stderr]     |         --------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 321 |         Expr::Minus(e1, e2, _) => {
[INFO] [stderr]     |         ---------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 324 |         Expr::Times(e1, e2, _) => {
[INFO] [stderr]     |         ---------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 841 |         _ => panic!("{:?} not implemented", expr)
[INFO] [stderr]     |         ^ ...and 18 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: `mama_rust` (lib) generated 9 warnings (run `cargo fix --lib -p mama_rust` to apply 8 suggestions)
[INFO] [stderr] warning: `mama_rust` (lib test) generated 11 warnings (8 duplicates) (run `cargo fix --lib -p mama_rust --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused imports: `Expr` and `Ty`
[INFO] [stderr]  --> tests/virtual_machine_tests.rs:1:25
[INFO] [stderr]   |
[INFO] [stderr] 1 | use mama_rust::syntax::{Ty, Expr};
[INFO] [stderr]   |                         ^^  ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AddressGenerator`, `Context`, and `code_v`
[INFO] [stderr]  --> tests/virtual_machine_tests.rs:2:27
[INFO] [stderr]   |
[INFO] [stderr] 2 | use mama_rust::gen_code::{code_v, gen_code_prog, AddressGenerator, Context};
[INFO] [stderr]   |                           ^^^^^^                 ^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `parse_expr`
[INFO] [stderr]  --> tests/virtual_machine_tests.rs:5:29
[INFO] [stderr]   |
[INFO] [stderr] 5 | use mama_rust::test_utils::{parse_expr, parse_prog};
[INFO] [stderr]   |                             ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ty`
[INFO] [stderr]   --> tests/virtual_machine_tests.rs:33:10
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let (ty, code) = gen_code_prog(&prog).unwrap();
[INFO] [stderr]    |          ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mama_rust` (test "virtual_machine_tests") generated 4 warnings (run `cargo fix --test "virtual_machine_tests" -p mama_rust` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mama_rust-9d5e9515e136db22)
[INFO] [stdout] 
[INFO] [stdout] running 45 tests
[INFO] [stdout] test address_resolution::tests::test_resolve_simple_jump ... ok
[INFO] [stdout] test heap::tests::alloc_retain_basic ... ok
[INFO] [stdout] test address_resolution::tests::test_extract_symbolic_address ... ok
[INFO] [stdout] test parser::tests::test_parse_addition ... ok
[INFO] [stdout] test parser::tests::test_lex_comments ... ok
[INFO] [stdout] test parser::tests::test_operator_precedence_complex ... ok
[INFO] [stdout] test parser::tests::test_parse_comparison ... ok
[INFO] [stdout] test parser::tests::test_parse_complex_expr ... ok
[INFO] [stdout] test parser::tests::test_parse_constructor_pattern_multiple_fields ... ok
[INFO] [stdout] test parser::tests::test_parse_constructor_application ... ok
[INFO] [stdout] test parser::tests::test_parse_assignment ... ok
[INFO] [stdout] test parser::tests::test_parse_deref ... ok
[INFO] [stdout] test parser::tests::test_parse_constructor_pattern_no_fields ... ok
[INFO] [stdout] test parser::tests::test_parse_empty_tuple ... ok
[INFO] [stdout] test parser::tests::test_parse_factorial ... ok
[INFO] [stdout] test parser::tests::test_parse_function_application ... ok
[INFO] [stdout] test parser::tests::test_parse_fun_abstraction ... ok
[INFO] [stdout] test parser::tests::test_parse_constructor_pattern_nested ... ok
[INFO] [stdout] test parser::tests::test_parse_constructor_pattern_one_field ... ok
[INFO] [stdout] test parser::tests::test_parse_int ... ok
[INFO] [stdout] test parser::tests::test_parse_let_rec ... ok
[INFO] [stdout] test parser::tests::test_parse_let_int_pat ... ok
[INFO] [stdout] test parser::tests::test_parse_if_then_else ... ok
[INFO] [stdout] test parser::tests::test_parse_let_tuple_pat ... ok
[INFO] [stdout] test parser::tests::test_parse_let_tuple_with_int_pat ... ok
[INFO] [stdout] test parser::tests::test_parse_match ... ok
[INFO] [stdout] test parser::tests::test_parse_let_var_pat ... ok
[INFO] [stdout] test parser::tests::test_parse_multiplication ... ok
[INFO] [stdout] test parser::tests::test_parse_ref_constructor ... ok
[INFO] [stdout] test parser::tests::test_parse_let_nested_tuple_pat ... ok
[INFO] [stdout] test parser::tests::test_parse_prog_with_typedef ... ok
[INFO] [stdout] test parser::tests::test_parse_match_multiple_cases ... ok
[INFO] [stdout] test parser::tests::test_parse_match_with_guard ... ok
[INFO] [stdout] test parser::tests::test_parse_sequence ... ok
[INFO] [stdout] test parser::tests::test_parse_single_paren ... ok
[INFO] [stdout] test parser::tests::test_parse_nested_let ... ok
[INFO] [stdout] test parser::tests::test_parse_type_function ... ok
[INFO] [stdout] test parser::tests::test_parse_var ... ok
[INFO] [stdout] test parser::tests::test_precedence ... ok
[INFO] [stdout] test parser::tests::test_parse_type_int ... ok
[INFO] [stdout] test heap::tests::alloc_collect_basic - should panic ... ok
[INFO] [stdout] test parser::tests::test_parse_type_product ... ok
[INFO] [stdout] test parser::tests::test_parse_tuple ... ok
[INFO] [stdout] test parser::tests::test_parse_subtraction ... ok
[INFO] [stdout] test parser::tests::test_parse_typedef ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 45 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mama_rust-69af357826ff2fab)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running tests/virtual_machine_tests.rs (/opt/rustwide/target/debug/deps/virtual_machine_tests-8d18f295d960fa4d)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 44 tests
[INFO] [stdout] test cbv_let ... ok
[INFO] [stdout] test cbv_constructor ... ok
[INFO] [stdout] test test_apply ... ok
[INFO] [stdout] test sum_two_ints ... ok
[INFO] [stdout] test cbv_application ... ok
[INFO] [stdout] test test_assign ... ok
[INFO] [stdout] test cbv_tuples ... ok
[INFO] [stdout] test tail_lite ... ok
[INFO] [stdout] test test_call_arg ... ok
[INFO] [stdout] test test_call_and_use ... ok
[INFO] [stdout] test test_assign_add ... ok
[INFO] [stdout] test test_comparison_leq ... ok
[INFO] [stdout] test test_empty_tuple ... ok
[INFO] [stdout] test test_comparison_gt ... ok
[INFO] [stdout] test test_fun ... ok
[INFO] [stdout] test test_call_arg2 ... ok
[INFO] [stdout] test test_if_then_else ... ok
[INFO] [stdout] test test_factorial ... ok
[INFO] [stdout] test test_fact_tuple ... ok
[INFO] [stdout] test test_let ... ok
[INFO] [stdout] test test_let_apply ... ok
[INFO] [stdout] test test_let_constructor_nested_tuple ... ok
[INFO] [stdout] test test_let_constructor_pattern_add_fields ... ok
[INFO] [stdout] test test_let_constructor_pattern ... ok
[INFO] [stdout] test test_match2 ... ok
[INFO] [stdout] test test_match_catch_all_guard ... ok
[INFO] [stdout] test test_match3 ... ok
[INFO] [stdout] test test_let_constructor_pattern_tuple_fields ... ok
[INFO] [stdout] test test_match ... ok
[INFO] [stdout] test test_match_guard_false ... ok
[INFO] [stdout] test test_match_guard_true ... ok
[INFO] [stdout] test test_match_fall_through ... ok
[INFO] [stdout] test test_nested_arithmetic ... ok
[INFO] [stdout] test test_subtraction ... ok
[INFO] [stdout] test test_ref ... ok
[INFO] [stdout] test test_over_supply ... ok
[INFO] [stdout] test test_multiplication ... ok
[INFO] [stdout] test test_under_supply ... ok
[INFO] [stdout] test test_tuple ... ok
[INFO] [stdout] test test_two_calls ... ok
[INFO] [stdout] test test_multi_call ... ok
[INFO] [stdout] test test_dont_collect_gp2 ... ok
[INFO] [stdout] test test_dont_collect_gp ... ok
[INFO] [stdout] test tail_call ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.66s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mama_rust
[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" "46e2e09a2b21196271ac7fbc84d79e7fbc5ba4dab53214e96228ef68cc101d5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46e2e09a2b21196271ac7fbc84d79e7fbc5ba4dab53214e96228ef68cc101d5d", kill_on_drop: false }`
[INFO] [stdout] 46e2e09a2b21196271ac7fbc84d79e7fbc5ba4dab53214e96228ef68cc101d5d
