[INFO] cloning repository https://github.com/aripiprazole/bidir [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aripiprazole/bidir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faripiprazole%2Fbidir", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faripiprazole%2Fbidir'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cfe575d91a647b705f77ff230a1aff2d1816ab1 [INFO] checking aripiprazole/bidir against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faripiprazole%2Fbidir" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aripiprazole/bidir [INFO] finished tweaking git repo https://github.com/aripiprazole/bidir [INFO] tweaked toml for git repo https://github.com/aripiprazole/bidir written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aripiprazole/bidir on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aripiprazole/bidir 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" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6296ea25903bb8a41004d4c947ae98a7a8a34ba623e742bfed4a6ccc521f2695 [INFO] running `Command { std: "docker" "start" "6296ea25903bb8a41004d4c947ae98a7a8a34ba623e742bfed4a6ccc521f2695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6296ea25903bb8a41004d4c947ae98a7a8a34ba623e742bfed4a6ccc521f2695" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6296ea25903bb8a41004d4c947ae98a7a8a34ba623e742bfed4a6ccc521f2695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6296ea25903bb8a41004d4c947ae98a7a8a34ba623e742bfed4a6ccc521f2695" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking bidir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:323:30 [INFO] [stdout] | [INFO] [stdout] 323 | Forall(name, box type_repr) => Type::Forall(name.text, Box::new(type_repr.into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | Fun(box domain, box codomain) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | Fun(box domain, box codomain) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:664:29 [INFO] [stdout] | [INFO] [stdout] 664 | Type::Forall(_, box type_repr) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:728:24 [INFO] [stdout] | [INFO] [stdout] 728 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:728:38 [INFO] [stdout] | [INFO] [stdout] 728 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:728:65 [INFO] [stdout] | [INFO] [stdout] 728 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:728:79 [INFO] [stdout] | [INFO] [stdout] 728 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:734:55 [INFO] [stdout] | [INFO] [stdout] 734 | (Type::Forall(a, type_a), Type::Forall(b, box type_b)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:806:66 [INFO] [stdout] | [INFO] [stdout] 806 | (Hole::Empty(_), Direction::Left, Type::Forall(name, box type_repr)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:817:61 [INFO] [stdout] | [INFO] [stdout] 817 | (Hole::Empty(scope), Direction::Left, Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:817:73 [INFO] [stdout] | [INFO] [stdout] 817 | (Hole::Empty(scope), Direction::Left, Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:840:67 [INFO] [stdout] | [INFO] [stdout] 840 | (Hole::Empty(_), Direction::Right, Type::Forall(name, box type_repr)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:851:62 [INFO] [stdout] | [INFO] [stdout] 851 | (Hole::Empty(scope), Direction::Right, Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:851:74 [INFO] [stdout] | [INFO] [stdout] 851 | (Hole::Empty(scope), Direction::Right, Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:903:41 [INFO] [stdout] | [INFO] [stdout] 903 | (sema_a, Type::Forall(name, box type_repr)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:920:33 [INFO] [stdout] | [INFO] [stdout] 920 | (Type::Forall(name, box type_repr), sema_b) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:932:24 [INFO] [stdout] | [INFO] [stdout] 932 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:932:38 [INFO] [stdout] | [INFO] [stdout] 932 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:932:65 [INFO] [stdout] | [INFO] [stdout] 932 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:932:79 [INFO] [stdout] | [INFO] [stdout] 932 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:985:43 [INFO] [stdout] | [INFO] [stdout] 985 | (term, Type::Forall(name, box type_repr)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:999:36 [INFO] [stdout] | [INFO] [stdout] 999 | (Expr::Abstr(name, box expr_e), Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:999:59 [INFO] [stdout] | [INFO] [stdout] 999 | (Expr::Abstr(name, box expr_e), Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:999:71 [INFO] [stdout] | [INFO] [stdout] 999 | (Expr::Abstr(name, box expr_e), Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1004:34 [INFO] [stdout] | [INFO] [stdout] 1004 | (Expr::Let(name, box value, box expr), type_repr) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1004:45 [INFO] [stdout] | [INFO] [stdout] 1004 | (Expr::Let(name, box value, box expr), type_repr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1054:29 [INFO] [stdout] | [INFO] [stdout] 1054 | Expr::Annot(box expr, type_repr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1067:29 [INFO] [stdout] | [INFO] [stdout] 1067 | Expr::Apply(box f, box arg) => self.apply(self.infer(f)?, arg), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1067:36 [INFO] [stdout] | [INFO] [stdout] 1067 | Expr::Apply(box f, box arg) => self.apply(self.infer(f)?, arg), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1077:33 [INFO] [stdout] | [INFO] [stdout] 1077 | Expr::Let(name, box value @ Expr::Abstr(_, _), box expr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1077:64 [INFO] [stdout] | [INFO] [stdout] 1077 | Expr::Let(name, box value @ Expr::Abstr(_, _), box expr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1094:33 [INFO] [stdout] | [INFO] [stdout] 1094 | Expr::Let(name, box value, box expr) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1094:44 [INFO] [stdout] | [INFO] [stdout] 1094 | Expr::Let(name, box value, box expr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1114:35 [INFO] [stdout] | [INFO] [stdout] 1114 | Expr::Abstr(name, box expr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1140:27 [INFO] [stdout] | [INFO] [stdout] 1140 | Type::Fun(box domain, box codomain) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1140:39 [INFO] [stdout] | [INFO] [stdout] 1140 | Type::Fun(box domain, box codomain) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1158:36 [INFO] [stdout] | [INFO] [stdout] 1158 | Type::Forall(name, box type_repr) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:323:30 [INFO] [stdout] | [INFO] [stdout] 323 | Forall(name, box type_repr) => Type::Forall(name.text, Box::new(type_repr.into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:324:21 [INFO] [stdout] | [INFO] [stdout] 324 | Fun(box domain, box codomain) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | Fun(box domain, box codomain) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:664:29 [INFO] [stdout] | [INFO] [stdout] 664 | Type::Forall(_, box type_repr) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:728:24 [INFO] [stdout] | [INFO] [stdout] 728 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:728:38 [INFO] [stdout] | [INFO] [stdout] 728 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:728:65 [INFO] [stdout] | [INFO] [stdout] 728 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:728:79 [INFO] [stdout] | [INFO] [stdout] 728 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:734:55 [INFO] [stdout] | [INFO] [stdout] 734 | (Type::Forall(a, type_a), Type::Forall(b, box type_b)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:806:66 [INFO] [stdout] | [INFO] [stdout] 806 | (Hole::Empty(_), Direction::Left, Type::Forall(name, box type_repr)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:817:61 [INFO] [stdout] | [INFO] [stdout] 817 | (Hole::Empty(scope), Direction::Left, Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:817:73 [INFO] [stdout] | [INFO] [stdout] 817 | (Hole::Empty(scope), Direction::Left, Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:840:67 [INFO] [stdout] | [INFO] [stdout] 840 | (Hole::Empty(_), Direction::Right, Type::Forall(name, box type_repr)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:851:62 [INFO] [stdout] | [INFO] [stdout] 851 | (Hole::Empty(scope), Direction::Right, Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:851:74 [INFO] [stdout] | [INFO] [stdout] 851 | (Hole::Empty(scope), Direction::Right, Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:903:41 [INFO] [stdout] | [INFO] [stdout] 903 | (sema_a, Type::Forall(name, box type_repr)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:920:33 [INFO] [stdout] | [INFO] [stdout] 920 | (Type::Forall(name, box type_repr), sema_b) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:932:24 [INFO] [stdout] | [INFO] [stdout] 932 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:932:38 [INFO] [stdout] | [INFO] [stdout] 932 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:932:65 [INFO] [stdout] | [INFO] [stdout] 932 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:932:79 [INFO] [stdout] | [INFO] [stdout] 932 | (Type::Fun(box domain_a, box codomain_a), Type::Fun(box domain_b, box codomain_b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:985:43 [INFO] [stdout] | [INFO] [stdout] 985 | (term, Type::Forall(name, box type_repr)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:999:36 [INFO] [stdout] | [INFO] [stdout] 999 | (Expr::Abstr(name, box expr_e), Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:999:59 [INFO] [stdout] | [INFO] [stdout] 999 | (Expr::Abstr(name, box expr_e), Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:999:71 [INFO] [stdout] | [INFO] [stdout] 999 | (Expr::Abstr(name, box expr_e), Type::Fun(box domain, box codomain)) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1004:34 [INFO] [stdout] | [INFO] [stdout] 1004 | (Expr::Let(name, box value, box expr), type_repr) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1004:45 [INFO] [stdout] | [INFO] [stdout] 1004 | (Expr::Let(name, box value, box expr), type_repr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1054:29 [INFO] [stdout] | [INFO] [stdout] 1054 | Expr::Annot(box expr, type_repr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1067:29 [INFO] [stdout] | [INFO] [stdout] 1067 | Expr::Apply(box f, box arg) => self.apply(self.infer(f)?, arg), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1067:36 [INFO] [stdout] | [INFO] [stdout] 1067 | Expr::Apply(box f, box arg) => self.apply(self.infer(f)?, arg), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1077:33 [INFO] [stdout] | [INFO] [stdout] 1077 | Expr::Let(name, box value @ Expr::Abstr(_, _), box expr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1077:64 [INFO] [stdout] | [INFO] [stdout] 1077 | Expr::Let(name, box value @ Expr::Abstr(_, _), box expr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1094:33 [INFO] [stdout] | [INFO] [stdout] 1094 | Expr::Let(name, box value, box expr) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1094:44 [INFO] [stdout] | [INFO] [stdout] 1094 | Expr::Let(name, box value, box expr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1114:35 [INFO] [stdout] | [INFO] [stdout] 1114 | Expr::Abstr(name, box expr) => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1140:27 [INFO] [stdout] | [INFO] [stdout] 1140 | Type::Fun(box domain, box codomain) => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1140:39 [INFO] [stdout] | [INFO] [stdout] 1140 | Type::Fun(box domain, box codomain) => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_patterns` have been removed [INFO] [stdout] --> src/main.rs:1158:36 [INFO] [stdout] | [INFO] [stdout] 1158 | Type::Forall(name, box type_repr) => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in CURRENT_RUSTC_VERSION [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:323:81 [INFO] [stdout] | [INFO] [stdout] 323 | Forall(name, box type_repr) => Type::Forall(name.text, Box::new(type_repr.into())), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:326:51 [INFO] [stdout] | [INFO] [stdout] 326 | /* domain = */ Box::new(domain.into()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:327:51 [INFO] [stdout] | [INFO] [stdout] 327 | /* codomain = */ Box::new(codomain.into()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:665:45 [INFO] [stdout] | [INFO] [stdout] 665 | pre_check_hole(hole, scope, type_repr)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain_a` in this scope [INFO] [stdout] --> src/main.rs:729:28 [INFO] [stdout] | [INFO] [stdout] 729 | unify(ctx, domain_a, domain_b)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain_b` in this scope [INFO] [stdout] --> src/main.rs:729:38 [INFO] [stdout] | [INFO] [stdout] 729 | unify(ctx, domain_a, domain_b)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain_a` in this scope [INFO] [stdout] --> src/main.rs:730:28 [INFO] [stdout] | [INFO] [stdout] 730 | unify(ctx, codomain_a, codomain_b)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain_b` in this scope [INFO] [stdout] --> src/main.rs:730:40 [INFO] [stdout] | [INFO] [stdout] 730 | unify(ctx, codomain_a, codomain_b)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:323:81 [INFO] [stdout] | [INFO] [stdout] 323 | Forall(name, box type_repr) => Type::Forall(name.text, Box::new(type_repr.into())), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:326:51 [INFO] [stdout] | [INFO] [stdout] 326 | /* domain = */ Box::new(domain.into()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:327:51 [INFO] [stdout] | [INFO] [stdout] 327 | /* codomain = */ Box::new(codomain.into()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:665:45 [INFO] [stdout] | [INFO] [stdout] 665 | pre_check_hole(hole, scope, type_repr)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain_a` in this scope [INFO] [stdout] --> src/main.rs:729:28 [INFO] [stdout] | [INFO] [stdout] 729 | unify(ctx, domain_a, domain_b)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain_b` in this scope [INFO] [stdout] --> src/main.rs:729:38 [INFO] [stdout] | [INFO] [stdout] 729 | unify(ctx, domain_a, domain_b)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain_a` in this scope [INFO] [stdout] --> src/main.rs:730:28 [INFO] [stdout] | [INFO] [stdout] 730 | unify(ctx, codomain_a, codomain_b)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain_b` in this scope [INFO] [stdout] --> src/main.rs:730:40 [INFO] [stdout] | [INFO] [stdout] 730 | unify(ctx, codomain_a, codomain_b)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_b` in this scope [INFO] [stdout] --> src/main.rs:742:30 [INFO] [stdout] | [INFO] [stdout] 742 | let type_b = type_b.clone().substitute(&b, Type::Bound(ctx.level)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 742 - let type_b = type_b.clone().substitute(&b, Type::Bound(ctx.level)); [INFO] [stdout] 742 + let type_b = type_a.clone().substitute(&b, Type::Bound(ctx.level)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:809:38 [INFO] [stdout] | [INFO] [stdout] 809 | sub_hole(&ctx, hole, type_repr, Direction::Left)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_b` in this scope [INFO] [stdout] --> src/main.rs:742:30 [INFO] [stdout] | [INFO] [stdout] 742 | let type_b = type_b.clone().substitute(&b, Type::Bound(ctx.level)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 742 - let type_b = type_b.clone().substitute(&b, Type::Bound(ctx.level)); [INFO] [stdout] 742 + let type_b = type_a.clone().substitute(&b, Type::Bound(ctx.level)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:809:38 [INFO] [stdout] | [INFO] [stdout] 809 | sub_hole(&ctx, hole, type_repr, Direction::Left)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:827:39 [INFO] [stdout] | [INFO] [stdout] 827 | sub_hole(ctx, hole_a, domain, Direction::Right)?; // A1 =<: ^α1 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:828:39 [INFO] [stdout] | [INFO] [stdout] 828 | sub_hole(ctx, hole_b, codomain, Direction::Left)?; // ^α2 :=< [Θ]A2 [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:841:51 [INFO] [stdout] | [INFO] [stdout] 841 | let sema = ctx.instantiate(&name, type_repr); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:860:39 [INFO] [stdout] | [INFO] [stdout] 860 | sub_hole(ctx, hole_a, domain, Direction::Left)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:861:39 [INFO] [stdout] | [INFO] [stdout] 861 | sub_hole(ctx, hole_b, codomain, Direction::Right)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:911:35 [INFO] [stdout] | [INFO] [stdout] 911 | sub(&ctx, sema_a, type_repr)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:921:53 [INFO] [stdout] | [INFO] [stdout] 921 | let sema_a = ctx.instantiate(&name, type_repr); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain_b` in this scope [INFO] [stdout] --> src/main.rs:933:26 [INFO] [stdout] | [INFO] [stdout] 933 | sub(ctx, domain_b, domain_a)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain_a` in this scope [INFO] [stdout] --> src/main.rs:933:36 [INFO] [stdout] | [INFO] [stdout] 933 | sub(ctx, domain_b, domain_a)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain_a` in this scope [INFO] [stdout] --> src/main.rs:934:26 [INFO] [stdout] | [INFO] [stdout] 934 | sub(ctx, codomain_a, codomain_b)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain_b` in this scope [INFO] [stdout] --> src/main.rs:934:38 [INFO] [stdout] | [INFO] [stdout] 934 | sub(ctx, codomain_a, codomain_b)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:1000:71 [INFO] [stdout] | [INFO] [stdout] 1000 | let ctx = self.clone().create_variable(name.text, domain); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr_e` in this scope [INFO] [stdout] --> src/main.rs:1002:31 [INFO] [stdout] | [INFO] [stdout] 1002 | ctx.check(expr_e, codomain)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:1002:39 [INFO] [stdout] | [INFO] [stdout] 1002 | ctx.check(expr_e, codomain)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/main.rs:1005:48 [INFO] [stdout] | [INFO] [stdout] 1005 | let expr_type = self.infer(value)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1008:31 [INFO] [stdout] | [INFO] [stdout] 1008 | ctx.check(expr, type_repr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1056:32 [INFO] [stdout] | [INFO] [stdout] 1056 | self.check(expr, type_repr.clone())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/main.rs:1067:70 [INFO] [stdout] | [INFO] [stdout] 1067 | Expr::Apply(box f, box arg) => self.apply(self.infer(f)?, arg), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/main.rs:1067:75 [INFO] [stdout] | [INFO] [stdout] 1067 | Expr::Apply(box f, box arg) => self.apply(self.infer(f)?, arg), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/main.rs:1080:76 [INFO] [stdout] | [INFO] [stdout] 1080 | let type_rep = self.clone().create_new_type("_").infer(value)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1084:31 [INFO] [stdout] | [INFO] [stdout] 1084 | ctx.infer(expr) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/main.rs:1095:48 [INFO] [stdout] | [INFO] [stdout] 1095 | let expr_type = self.infer(value)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1098:31 [INFO] [stdout] | [INFO] [stdout] 1098 | ctx.infer(expr) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1117:46 [INFO] [stdout] | [INFO] [stdout] 1117 | let codomain = ctx.infer(expr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:1141:38 [INFO] [stdout] | [INFO] [stdout] 1141 | self.check(term, domain)?; // e ⇐ A [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:1143:24 [INFO] [stdout] | [INFO] [stdout] 1143 | Ok(codomain) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:1159:56 [INFO] [stdout] | [INFO] [stdout] 1159 | self.apply(self.instantiate(&name, type_repr), term) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:827:39 [INFO] [stdout] | [INFO] [stdout] 827 | sub_hole(ctx, hole_a, domain, Direction::Right)?; // A1 =<: ^α1 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:828:39 [INFO] [stdout] | [INFO] [stdout] 828 | sub_hole(ctx, hole_b, codomain, Direction::Left)?; // ^α2 :=< [Θ]A2 [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:841:51 [INFO] [stdout] | [INFO] [stdout] 841 | let sema = ctx.instantiate(&name, type_repr); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:860:39 [INFO] [stdout] | [INFO] [stdout] 860 | sub_hole(ctx, hole_a, domain, Direction::Left)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:861:39 [INFO] [stdout] | [INFO] [stdout] 861 | sub_hole(ctx, hole_b, codomain, Direction::Right)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:911:35 [INFO] [stdout] | [INFO] [stdout] 911 | sub(&ctx, sema_a, type_repr)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:921:53 [INFO] [stdout] | [INFO] [stdout] 921 | let sema_a = ctx.instantiate(&name, type_repr); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain_b` in this scope [INFO] [stdout] --> src/main.rs:933:26 [INFO] [stdout] | [INFO] [stdout] 933 | sub(ctx, domain_b, domain_a)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain_a` in this scope [INFO] [stdout] --> src/main.rs:933:36 [INFO] [stdout] | [INFO] [stdout] 933 | sub(ctx, domain_b, domain_a)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain_a` in this scope [INFO] [stdout] --> src/main.rs:934:26 [INFO] [stdout] | [INFO] [stdout] 934 | sub(ctx, codomain_a, codomain_b)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain_b` in this scope [INFO] [stdout] --> src/main.rs:934:38 [INFO] [stdout] | [INFO] [stdout] 934 | sub(ctx, codomain_a, codomain_b)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:1000:71 [INFO] [stdout] | [INFO] [stdout] 1000 | let ctx = self.clone().create_variable(name.text, domain); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr_e` in this scope [INFO] [stdout] --> src/main.rs:1002:31 [INFO] [stdout] | [INFO] [stdout] 1002 | ctx.check(expr_e, codomain)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:1002:39 [INFO] [stdout] | [INFO] [stdout] 1002 | ctx.check(expr_e, codomain)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/main.rs:1005:48 [INFO] [stdout] | [INFO] [stdout] 1005 | let expr_type = self.infer(value)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1008:31 [INFO] [stdout] | [INFO] [stdout] 1008 | ctx.check(expr, type_repr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1056:32 [INFO] [stdout] | [INFO] [stdout] 1056 | self.check(expr, type_repr.clone())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `f` in this scope [INFO] [stdout] --> src/main.rs:1067:70 [INFO] [stdout] | [INFO] [stdout] 1067 | Expr::Apply(box f, box arg) => self.apply(self.infer(f)?, arg), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arg` in this scope [INFO] [stdout] --> src/main.rs:1067:75 [INFO] [stdout] | [INFO] [stdout] 1067 | Expr::Apply(box f, box arg) => self.apply(self.infer(f)?, arg), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/main.rs:1080:76 [INFO] [stdout] | [INFO] [stdout] 1080 | let type_rep = self.clone().create_new_type("_").infer(value)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1084:31 [INFO] [stdout] | [INFO] [stdout] 1084 | ctx.infer(expr) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/main.rs:1095:48 [INFO] [stdout] | [INFO] [stdout] 1095 | let expr_type = self.infer(value)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1098:31 [INFO] [stdout] | [INFO] [stdout] 1098 | ctx.infer(expr) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/main.rs:1117:46 [INFO] [stdout] | [INFO] [stdout] 1117 | let codomain = ctx.infer(expr)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `domain` in this scope [INFO] [stdout] --> src/main.rs:1141:38 [INFO] [stdout] | [INFO] [stdout] 1141 | self.check(term, domain)?; // e ⇐ A [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `codomain` in this scope [INFO] [stdout] --> src/main.rs:1143:24 [INFO] [stdout] | [INFO] [stdout] 1143 | Ok(codomain) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `type_repr` in this scope [INFO] [stdout] --> src/main.rs:1159:56 [INFO] [stdout] | [INFO] [stdout] 1159 | self.apply(self.instantiate(&name, type_repr), term) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bidir` (bin "bidir" test) due to 76 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bidir` (bin "bidir") due to 76 previous errors [INFO] running `Command { std: "docker" "inspect" "6296ea25903bb8a41004d4c947ae98a7a8a34ba623e742bfed4a6ccc521f2695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6296ea25903bb8a41004d4c947ae98a7a8a34ba623e742bfed4a6ccc521f2695", kill_on_drop: false }` [INFO] [stdout] 6296ea25903bb8a41004d4c947ae98a7a8a34ba623e742bfed4a6ccc521f2695