[INFO] cloning repository https://github.com/yportne13/anqur-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yportne13/anqur-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyportne13%2Fanqur-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyportne13%2Fanqur-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8dcceaf1f195973f17e1597db978dc282761979 [INFO] checking yportne13/anqur-rs against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyportne13%2Fanqur-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yportne13/anqur-rs [INFO] finished tweaking git repo https://github.com/yportne13/anqur-rs [INFO] tweaked toml for git repo https://github.com/yportne13/anqur-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yportne13/anqur-rs on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yportne13/anqur-rs 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c01873e22df41c3be8fa1c73c038a2c9d18c5fd503428faa042989dda0aee0a [INFO] running `Command { std: "docker" "start" "-a" "0c01873e22df41c3be8fa1c73c038a2c9d18c5fd503428faa042989dda0aee0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c01873e22df41c3be8fa1c73c038a2c9d18c5fd503428faa042989dda0aee0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c01873e22df41c3be8fa1c73c038a2c9d18c5fd503428faa042989dda0aee0a", kill_on_drop: false }` [INFO] [stdout] 0c01873e22df41c3be8fa1c73c038a2c9d18c5fd503428faa042989dda0aee0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ab302ed1358e8637dd8f74da0c1ef7fc8d36a37803e5cba28eda76df6f6c29d [INFO] running `Command { std: "docker" "start" "-a" "1ab302ed1358e8637dd8f74da0c1ef7fc8d36a37803e5cba28eda76df6f6c29d", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking str-concat v0.2.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking nom-greedyerror v0.5.0 [INFO] [stderr] Checking anqur-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Debug}; [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: `normalize` [INFO] [stdout] --> src/lib.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use tyck::to_local::{infer, normalize, Cxt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/tyck/to_local.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap}, ops::Add}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/tyck/to_local.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::*` [INFO] [stdout] --> src/tyck/whnf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/locally_nameless.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Debug}; [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: `normalize` [INFO] [stdout] --> src/lib.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use tyck::to_local::{infer, normalize, Cxt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/tyck/to_local.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, HashMap}, ops::Add}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/tyck/to_local.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::*` [INFO] [stdout] --> src/tyck/whnf.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/locally_nameless.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/locally_nameless.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/locally_nameless.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/parser/ast.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | Expr::Sum(x) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/parser/ast.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | Expr::Sum(x) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/tyck/to_local.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | Expr::Match(expr, vec) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/tyck/to_local.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | Expr::Match(expr, vec) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tyck/to_local.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | Expr::Sum(x) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/tyck/to_local.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | Value::Pi(name, value, closure) => todo!(), /*Expr::Dt( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/tyck/to_local.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | Value::Pi(name, value, closure) => todo!(), /*Expr::Dt( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closure` [INFO] [stdout] --> src/tyck/to_local.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | Value::Pi(name, value, closure) => todo!(), /*Expr::Dt( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/tyck/to_local.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | Value::Sig(a, b) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/tyck/to_local.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | Value::Sig(a, b) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/tyck/to_local.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | Decl::Data { name, tele, cons } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tele` [INFO] [stdout] --> src/tyck/to_local.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | Decl::Data { name, tele, cons } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `tele: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cons` [INFO] [stdout] --> src/tyck/to_local.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 148 | Decl::Data { name, tele, cons } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cons: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/tyck/to_local.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | Expr::Match(expr, vec) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/tyck/to_local.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | Expr::Match(expr, vec) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/tyck/to_local.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | Expr::Sum(x) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/tyck/to_local.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | Value::Pi(name, value, closure) => todo!(), /*Expr::Dt( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/tyck/to_local.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | Value::Pi(name, value, closure) => todo!(), /*Expr::Dt( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closure` [INFO] [stdout] --> src/tyck/to_local.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | Value::Pi(name, value, closure) => todo!(), /*Expr::Dt( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/tyck/to_local.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | Value::Sig(a, b) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/tyck/to_local.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | Value::Sig(a, b) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/tyck/to_local.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | Decl::Data { name, tele, cons } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tele` [INFO] [stdout] --> src/tyck/to_local.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | Decl::Data { name, tele, cons } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `tele: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cons` [INFO] [stdout] --> src/tyck/to_local.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 148 | Decl::Data { name, tele, cons } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cons: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tele` [INFO] [stdout] --> src/tyck/to_local.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | Decl::Print { tele, result, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `tele: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tyck/to_local.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | Decl::Print { tele, result, body } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/tyck/to_local.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | Decl::Print { tele, result, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tele` [INFO] [stdout] --> src/tyck/to_local.rs:258:28 [INFO] [stdout] | [INFO] [stdout] 258 | Decl::Data { name, tele, cons } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `tele: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tele` [INFO] [stdout] --> src/tyck/to_local.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | Decl::Print { tele, result, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `tele: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/tyck/to_local.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | Decl::Print { tele, result, body } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `result: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/tyck/to_local.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | Decl::Print { tele, result, body } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tele` [INFO] [stdout] --> src/tyck/to_local.rs:258:28 [INFO] [stdout] | [INFO] [stdout] 258 | Decl::Data { name, tele, cons } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `tele: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_ty` [INFO] [stdout] --> src/tyck/to_local.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | let (expr_tm, expr_ty) = infer_expr(cxt, expr)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr1_ty` [INFO] [stdout] --> src/tyck/to_local.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 335 | let (expr1_tm, expr1_ty) = infer_expr(cxt, b)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr1_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/tyck/to_local.rs:417:21 [INFO] [stdout] | [INFO] [stdout] 417 | Expr::Match(expr, vec) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/tyck/to_local.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | Expr::Match(expr, vec) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_` [INFO] [stdout] --> src/tyck/to_local.rs:455:37 [INFO] [stdout] | [INFO] [stdout] 455 | (Expr::Lam(x, t), Value::Pi(x_, a_, b)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_` [INFO] [stdout] --> src/tyck/to_local.rs:473:30 [INFO] [stdout] | [INFO] [stdout] 473 | (Expr::Let(x, a, t), a_) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tyck/to_local.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | let mut ret = true; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_ty` [INFO] [stdout] --> src/tyck/to_local.rs:334:31 [INFO] [stdout] | [INFO] [stdout] 334 | let (expr_tm, expr_ty) = infer_expr(cxt, expr)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr1_ty` [INFO] [stdout] --> src/tyck/to_local.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 335 | let (expr1_tm, expr1_ty) = infer_expr(cxt, b)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr1_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/tyck/to_local.rs:417:21 [INFO] [stdout] | [INFO] [stdout] 417 | Expr::Match(expr, vec) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/tyck/to_local.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | Expr::Match(expr, vec) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_` [INFO] [stdout] --> src/tyck/to_local.rs:455:37 [INFO] [stdout] | [INFO] [stdout] 455 | (Expr::Lam(x, t), Value::Pi(x_, a_, b)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_` [INFO] [stdout] --> src/tyck/to_local.rs:473:30 [INFO] [stdout] | [INFO] [stdout] 473 | (Expr::Let(x, a, t), a_) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_a_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tyck/to_local.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | let mut ret = true; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | Ok((t, a, new_cxt)) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `U` [INFO] [stdout] | [INFO] [stdout] 50 - Ok((t, a, new_cxt)) => { [INFO] [stdout] 50 + Ok((t, tyck::to_local::Value::U, new_cxt)) => { [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 50 | Ok((t, _a, new_cxt)) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Diagnostic` is never constructed [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Diagnostic { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type Error = Diagnostic; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/lib.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn run(s: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fn_body` is never used [INFO] [stdout] --> src/parser/mod.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn fn_body(s: Span) -> IResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pattern` is never used [INFO] [stdout] --> src/parser/mod.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn pattern(s: Span) -> IResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clause` is never used [INFO] [stdout] --> src/parser/mod.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn clause(s: Span) -> IResult>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Term` is never used [INFO] [stdout] --> src/locally_nameless.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Term { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `app` is never used [INFO] [stdout] --> src/locally_nameless.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Term { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 25 | fn app(self, other: Term) -> Term { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Var` is never used [INFO] [stdout] --> src/locally_nameless.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum Var { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_locally_nameless` is never used [INFO] [stdout] --> src/locally_nameless.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn to_locally_nameless(term: &Term, env: &mut HashMap) -> Term> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_locally_nameless` is never used [INFO] [stdout] --> src/locally_nameless.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn from_locally_nameless(term: &Term>, env: &mut HashMap) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/locally_nameless.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn open(image: &Term>, scope: &Term>) -> Term> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whnf` is never used [INFO] [stdout] --> src/locally_nameless.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn whnf(term: &Term>, mut vec: Vec>>) -> Term> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `full` is never used [INFO] [stdout] --> src/locally_nameless.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn full(x: Term) -> Term { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | Ok((t, a, new_cxt)) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `U` [INFO] [stdout] | [INFO] [stdout] 50 - Ok((t, a, new_cxt)) => { [INFO] [stdout] 50 + Ok((t, tyck::to_local::Value::U, new_cxt)) => { [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 50 | Ok((t, _a, new_cxt)) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Diagnostic` is never constructed [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Diagnostic { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/lib.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type Error = Diagnostic; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fn_body` is never used [INFO] [stdout] --> src/parser/mod.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn fn_body(s: Span) -> IResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pattern` is never used [INFO] [stdout] --> src/parser/mod.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn pattern(s: Span) -> IResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clause` is never used [INFO] [stdout] --> src/parser/mod.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn clause(s: Span) -> IResult>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anqur-rs` (lib) due to 1 previous error; 45 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `anqur-rs` (lib test) due to 1 previous error; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ab302ed1358e8637dd8f74da0c1ef7fc8d36a37803e5cba28eda76df6f6c29d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ab302ed1358e8637dd8f74da0c1ef7fc8d36a37803e5cba28eda76df6f6c29d", kill_on_drop: false }` [INFO] [stdout] 1ab302ed1358e8637dd8f74da0c1ef7fc8d36a37803e5cba28eda76df6f6c29d