[INFO] cloning repository https://github.com/Achtuur/initial_excercise
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Achtuur/initial_excercise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAchtuur%2Finitial_excercise", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAchtuur%2Finitial_excercise'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 630ebe1190db948d157ebf58ab12214fa8b8abcb
[INFO] checking Achtuur/initial_excercise against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAchtuur%2Finitial_excercise" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Achtuur/initial_excercise on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Achtuur/initial_excercise
[INFO] finished tweaking git repo https://github.com/Achtuur/initial_excercise
[INFO] tweaked toml for git repo https://github.com/Achtuur/initial_excercise written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Achtuur/initial_excercise 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c70fe857507619d03b6df501d967d47772da8e620a1880b63670278c009e32f0
[INFO] running `Command { std: "docker" "start" "-a" "c70fe857507619d03b6df501d967d47772da8e620a1880b63670278c009e32f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c70fe857507619d03b6df501d967d47772da8e620a1880b63670278c009e32f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c70fe857507619d03b6df501d967d47772da8e620a1880b63670278c009e32f0", kill_on_drop: false }`
[INFO] [stdout] c70fe857507619d03b6df501d967d47772da8e620a1880b63670278c009e32f0
[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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b311f00657999db294964d20200f9d3c4d67308b3030d0c61bdae6270b28bf81
[INFO] running `Command { std: "docker" "start" "-a" "b311f00657999db294964d20200f9d3c4d67308b3030d0c61bdae6270b28bf81", kill_on_drop: false }`
[INFO] [stderr]     Checking initial_excercise v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: non-pattern macro in pattern position: ::core::panic
[INFO] [stdout]    --> src/type_check.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         todo!("match function call") => type_of_expr_module(sg, fun_expr, scope),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-pattern macro in pattern position: ::core::panic
[INFO] [stdout]    --> src/type_check.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         todo!("match function call") => type_of_expr_module(sg, fun_expr, scope),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `fun_expr` in this scope
[INFO] [stdout]    --> src/type_check.rs:108:65
[INFO] [stdout]     |
[INFO] [stdout] 108 |         todo!("match function call") => type_of_expr_module(sg, fun_expr, scope),
[INFO] [stdout]     |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `marker::PhantomData`
[INFO] [stdout]  --> src/type_check.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, marker::PhantomData};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `fun_expr` in this scope
[INFO] [stdout]    --> src/type_check.rs:108:65
[INFO] [stdout]     |
[INFO] [stdout] 108 |         todo!("match function call") => type_of_expr_module(sg, fun_expr, scope),
[INFO] [stdout]     |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `marker::PhantomData`
[INFO] [stdout]  --> src/type_check.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, marker::PhantomData};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0072]: recursive type `ModuleExpr` has infinite size
[INFO] [stdout]   --> src/expr.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum ModuleExpr {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     Module(ModuleExpr),
[INFO] [stdout]    |            ---------- recursive without indirection
[INFO] [stdout]    |
[INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Module(Box<ModuleExpr>),
[INFO] [stdout]    |            ++++          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0072]: recursive type `ModuleExpr` has infinite size
[INFO] [stdout]   --> src/expr.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum ModuleExpr {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     Module(ModuleExpr),
[INFO] [stdout]    |            ---------- recursive without indirection
[INFO] [stdout]    |
[INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Module(Box<ModuleExpr>),
[INFO] [stdout]    |            ++++          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/type_check.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let data_ok = todo!("check if queried data is equal to expr?");
[INFO] [stdout]    |                   ------------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 32 |     let label_order = "D < P"; // i guess?
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/type_check.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let data_ok = todo!("check if queried data is equal to expr?");
[INFO] [stdout]    |                   ------------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 32 |     let label_order = "D < P"; // i guess?
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/type_check.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let scope = sg.new_scope(&ModuleExpr::Module(module)); //im just gonna assume this adds MDDATA into the scope
[INFO] [stdout]    |                                   ------------------ ^^^^^^ expected `ModuleExpr`, found `Module`
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> src/expr.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Module(ModuleExpr),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/type_check.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let scope = sg.new_scope(&ModuleExpr::Module(module)); //im just gonna assume this adds MDDATA into the scope
[INFO] [stdout]    |                                   ------------------ ^^^^^^ expected `ModuleExpr`, found `Module`
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> src/expr.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Module(ModuleExpr),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/type_check.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let data_ok = todo!("check if queried data is equal to expr?");
[INFO] [stdout]    |                   ------------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 99 |     let label_order = "D < I, D < P, I < P"; // i guess?
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/type_check.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let data_ok = todo!("check if queried data is equal to expr?");
[INFO] [stdout]    |                   ------------------------------------------------ any code following this expression is unreachable
[INFO] [stdout] 99 |     let label_order = "D < I, D < P, I < P"; // i guess?
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `sg_type` found for enum `ModuleExpr` in the current scope
[INFO] [stdout]    --> src/type_check.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |         _ => Ok((sg, query_result[0].sg_type()))
[INFO] [stdout]     |                                      ^^^^^^^ method not found in `ModuleExpr`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/expr.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | pub enum ModuleExpr {
[INFO] [stdout]     | ------------------- method `sg_type` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `sg_type` found for enum `ModuleExpr` in the current scope
[INFO] [stdout]    --> src/type_check.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |         _ => Ok((sg, query_result[0].sg_type()))
[INFO] [stdout]     |                                      ^^^^^^^ method not found in `ModuleExpr`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/expr.rs:28:1
[INFO] [stdout]     |
[INFO] [stdout] 28  | pub enum ModuleExpr {
[INFO] [stdout]     | ------------------- method `sg_type` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/scopegraph.rs:16:33
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new_scope(&mut self, data: &DATA) -> Scope {
[INFO] [stdout]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/scopegraph.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_edge(&mut self, src: &Scope, lbl: LBL, tgt: &Scope) {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lbl`
[INFO] [stdout]   --> src/scopegraph.rs:20:45
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_edge(&mut self, src: &Scope, lbl: LBL, tgt: &Scope) {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_lbl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tgt`
[INFO] [stdout]   --> src/scopegraph.rs:20:55
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_edge(&mut self, src: &Scope, lbl: LBL, tgt: &Scope) {
[INFO] [stdout]    |                                                       ^^^ help: if this is intentional, prefix it with an underscore: `_tgt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/scopegraph.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn query(&mut self, src: &Scope, path_ok: &str, data_ok: fn(DATA) -> bool, label_order: &str) -> Vec<DATA> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/scopegraph.rs:16:33
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn new_scope(&mut self, data: &DATA) -> Scope {
[INFO] [stdout]    |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_ok`
[INFO] [stdout]   --> src/scopegraph.rs:25:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn query(&mut self, src: &Scope, path_ok: &str, data_ok: fn(DATA) -> bool, label_order: &str) -> Vec<DATA> {
[INFO] [stdout]    |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_ok`
[INFO] [stdout]   --> src/scopegraph.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn query(&mut self, src: &Scope, path_ok: &str, data_ok: fn(DATA) -> bool, label_order: &str) -> Vec<DATA> {
[INFO] [stdout]    |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label_order`
[INFO] [stdout]   --> src/scopegraph.rs:25:84
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn query(&mut self, src: &Scope, path_ok: &str, data_ok: fn(DATA) -> bool, label_order: &str) -> Vec<DATA> {
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/scopegraph.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_edge(&mut self, src: &Scope, lbl: LBL, tgt: &Scope) {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lbl`
[INFO] [stdout]   --> src/scopegraph.rs:20:45
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_edge(&mut self, src: &Scope, lbl: LBL, tgt: &Scope) {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_lbl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tgt`
[INFO] [stdout]   --> src/scopegraph.rs:20:55
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_edge(&mut self, src: &Scope, lbl: LBL, tgt: &Scope) {
[INFO] [stdout]    |                                                       ^^^ help: if this is intentional, prefix it with an underscore: `_tgt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module2`
[INFO] [stdout]   --> src/expr.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub(crate) fn imports(&self, module2: Module) -> bool {
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/scopegraph.rs:25:29
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn query(&mut self, src: &Scope, path_ok: &str, data_ok: fn(DATA) -> bool, label_order: &str) -> Vec<DATA> {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_ok`
[INFO] [stdout]   --> src/scopegraph.rs:25:42
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn query(&mut self, src: &Scope, path_ok: &str, data_ok: fn(DATA) -> bool, label_order: &str) -> Vec<DATA> {
[INFO] [stdout]    |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_ok`
[INFO] [stdout]   --> src/scopegraph.rs:25:57
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn query(&mut self, src: &Scope, path_ok: &str, data_ok: fn(DATA) -> bool, label_order: &str) -> Vec<DATA> {
[INFO] [stdout]    |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label_order`
[INFO] [stdout]   --> src/scopegraph.rs:25:84
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn query(&mut self, src: &Scope, path_ok: &str, data_ok: fn(DATA) -> bool, label_order: &str) -> Vec<DATA> {
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module2`
[INFO] [stdout]   --> src/expr.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub(crate) fn imports(&self, module2: Module) -> bool {
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `expr::ModuleExpr`
[INFO] [stdout]   --> src/expr.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum ModuleExpr {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ...which immediately requires computing drop-check constraints for `expr::ModuleExpr` again
[INFO] [stdout]    = note: cycle used when computing dropck types for `expr::Module`
[INFO] [stdout]    = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `expr::ModuleExpr`
[INFO] [stdout]   --> src/expr.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum ModuleExpr {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ...which immediately requires computing drop-check constraints for `expr::ModuleExpr` again
[INFO] [stdout]    = note: cycle used when computing dropck types for `expr::Module`
[INFO] [stdout]    = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_ok`
[INFO] [stdout]   --> src/type_check.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let path_ok = "P*"; // expression must be reachable from current scope (which is just global scope)
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_ok`
[INFO] [stdout]   --> src/type_check.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let data_ok = todo!("check if queried data is equal to expr?");
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sg`
[INFO] [stdout]   --> src/type_check.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn type_of_expr(sg: ScopeGraph<LCLbl, LCData>, expr: &LCData, scope: &Scope) -> TCResult {
[INFO] [stdout]    |                     ^^ help: if this is intentional, prefix it with an underscore: `_sg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/type_check.rs:29:52
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn type_of_expr(sg: ScopeGraph<LCLbl, LCData>, expr: &LCData, scope: &Scope) -> TCResult {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scope`
[INFO] [stdout]   --> src/type_check.rs:29:67
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn type_of_expr(sg: ScopeGraph<LCLbl, LCData>, expr: &LCData, scope: &Scope) -> TCResult {
[INFO] [stdout]    |                                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_ok`
[INFO] [stdout]   --> src/type_check.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let path_ok = "P*"; // expression must be reachable from current scope (which is just global scope)
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data_ok`
[INFO] [stdout]   --> src/type_check.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let data_ok = todo!("check if queried data is equal to expr?");
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sg`
[INFO] [stdout]   --> src/type_check.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn type_of_expr(sg: ScopeGraph<LCLbl, LCData>, expr: &LCData, scope: &Scope) -> TCResult {
[INFO] [stdout]    |                     ^^ help: if this is intentional, prefix it with an underscore: `_sg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expr`
[INFO] [stdout]   --> src/type_check.rs:29:52
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn type_of_expr(sg: ScopeGraph<LCLbl, LCData>, expr: &LCData, scope: &Scope) -> TCResult {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scope`
[INFO] [stdout]   --> src/type_check.rs:29:67
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn type_of_expr(sg: ScopeGraph<LCLbl, LCData>, expr: &LCData, scope: &Scope) -> TCResult {
[INFO] [stdout]    |                                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0072, E0308, E0391, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0072`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0072, E0308, E0391, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0072`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `initial_excercise` (bin "initial_excercise") due to 6 previous errors; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `initial_excercise` (bin "initial_excercise" test) due to 6 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b311f00657999db294964d20200f9d3c4d67308b3030d0c61bdae6270b28bf81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b311f00657999db294964d20200f9d3c4d67308b3030d0c61bdae6270b28bf81", kill_on_drop: false }`
[INFO] [stdout] b311f00657999db294964d20200f9d3c4d67308b3030d0c61bdae6270b28bf81
