[INFO] cloning repository https://github.com/lunalunaa/elab-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lunalunaa/elab-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunalunaa%2Felab-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunalunaa%2Felab-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c26a4b6bcc0efb110a04e630ecb4de4dcb00c5b0
[INFO] testing lunalunaa/elab-rs against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flunalunaa%2Felab-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lunalunaa/elab-rs
[INFO] finished tweaking git repo https://github.com/lunalunaa/elab-rs
[INFO] tweaked toml for git repo https://github.com/lunalunaa/elab-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lunalunaa/elab-rs on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lunalunaa/elab-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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded derive-new v0.5.9
[INFO] [stderr]   Downloaded uuid v1.0.0
[INFO] [stderr]   Downloaded pretty v0.11.3
[INFO] [stderr]   Downloaded uuid-macro-internal v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c8258ab17bd77a630ef76dc9281cd68f3c5cb39f3e2d21c472daf4adfc76cd0
[INFO] running `Command { std: "docker" "start" "-a" "5c8258ab17bd77a630ef76dc9281cd68f3c5cb39f3e2d21c472daf4adfc76cd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c8258ab17bd77a630ef76dc9281cd68f3c5cb39f3e2d21c472daf4adfc76cd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c8258ab17bd77a630ef76dc9281cd68f3c5cb39f3e2d21c472daf4adfc76cd0", kill_on_drop: false }`
[INFO] [stdout] 5c8258ab17bd77a630ef76dc9281cd68f3c5cb39f3e2d21c472daf4adfc76cd0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e74b79230f8b06d1c8c5a48da2602f9872cb2af13171484c8d04dbe016f29668
[INFO] running `Command { std: "docker" "start" "-a" "e74b79230f8b06d1c8c5a48da2602f9872cb2af13171484c8d04dbe016f29668", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling once_cell v1.11.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling pico-args v0.4.2
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling pretty v0.11.3
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling string_cache v0.8.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling uuid-macro-internal v1.0.0
[INFO] [stderr]    Compiling derive-new v0.5.9
[INFO] [stderr]    Compiling lalrpop-util v0.19.8
[INFO] [stderr]    Compiling uuid v1.0.0
[INFO] [stderr]    Compiling lalrpop v0.19.8
[INFO] [stderr]    Compiling elab v0.1.0 (/opt/rustwide/workdir/elab)
[INFO] [stdout] warning: unused import: `crate::syntax::generic::SourcePos`
[INFO] [stdout]  --> elab/src/parse/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::syntax::generic::SourcePos;
[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: `crate::syntax::generic::Syntax`
[INFO] [stdout]  --> elab/src/parse/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::syntax::generic::Syntax;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::syntax::generic::TelesMaybe`
[INFO] [stdout]  --> elab/src/parse/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::syntax::generic::TelesMaybe;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `lalrpop_util`
[INFO] [stdout]  --> elab/src/parse/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use lalrpop_util;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::syntax::binding::*`
[INFO] [stdout]  --> elab/src/parse/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::syntax::binding::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::syntax::core::Core as CE`
[INFO] [stdout]  --> elab/src/parse/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use super::syntax::core::Core as CE;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::syntax::core::*`
[INFO] [stdout]   --> elab/src/parse/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use super::syntax::core::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::syntax::raw::Expr as RE`
[INFO] [stdout]   --> elab/src/parse/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use super::syntax::raw::Expr as RE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::syntax::raw::*`
[INFO] [stdout]   --> elab/src/parse/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use super::syntax::raw::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> elab/src/syntax/generic.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Weak`
[INFO] [stdout]  --> elab/src/tyck/tycker.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::{Rc, Weak};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> elab/src/tyck/env.rs:48:50
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Ref::map(self.context_data.borrow(), |c| &c.lookup_local(name))
[INFO] [stdout]    |                                               -- ^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2`
[INFO] [stdout]    |                                               ||
[INFO] [stdout]    |                                               |return type of closure is &Option<&'2 core::Core>
[INFO] [stdout]    |                                               has type `&'1 ContextData`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return reference to temporary value
[INFO] [stdout]   --> elab/src/tyck/env.rs:48:50
[INFO] [stdout]    |
[INFO] [stdout] 48 |         Ref::map(self.context_data.borrow(), |c| &c.lookup_local(name))
[INFO] [stdout]    |                                                  ^--------------------
[INFO] [stdout]    |                                                  ||
[INFO] [stdout]    |                                                  |temporary value created here
[INFO] [stdout]    |                                                  returns a reference to data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> elab/src/tyck/tycker.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 Var::Local(name, _) => match self.ctx.lookup_local(&name) {
[INFO] [stdout]    |                                              ---------------------------- this expression has type `impl Deref<Target = Option<&core::Core>> + '_`
[INFO] [stdout] 92 |                     Some(c) => TyckResult::new(Core::Ref(Var::Local(name, None)), c.clone()),
[INFO] [stdout]    |                     ^^^^^^^ expected opaque type, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: elab/src/tyck/env.rs:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn lookup_local(&self, name: &Name) -> impl Deref<Target = Option<&Core>> + '_ {
[INFO] [stdout]    |                                                --------------------------------------- the expected opaque type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected opaque type `impl Deref<Target = Option<&core::Core>> + '_`
[INFO] [stdout]                      found enum `Option<_>`
[INFO] [stdout] help: consider dereferencing to access the inner value using the Deref trait
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 Var::Local(name, _) => match *self.ctx.lookup_local(&name) {
[INFO] [stdout]    |                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> elab/src/tyck/tycker.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 Var::Local(name, _) => match self.ctx.lookup_local(&name) {
[INFO] [stdout]    |                                              ---------------------------- this expression has type `impl Deref<Target = Option<&core::Core>> + '_`
[INFO] [stdout] 92 |                     Some(c) => TyckResult::new(Core::Ref(Var::Local(name, None)), c.clone()),
[INFO] [stdout] 93 |                     None => todo!(),
[INFO] [stdout]    |                     ^^^^ expected opaque type, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: elab/src/tyck/env.rs:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn lookup_local(&self, name: &Name) -> impl Deref<Target = Option<&Core>> + '_ {
[INFO] [stdout]    |                                                --------------------------------------- the expected opaque type
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected opaque type `impl Deref<Target = Option<&core::Core>> + '_`
[INFO] [stdout]                      found enum `Option<_>`
[INFO] [stdout] help: consider dereferencing to access the inner value using the Deref trait
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 Var::Local(name, _) => match *self.ctx.lookup_local(&name) {
[INFO] [stdout]    |                                              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> elab/src/parse/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut v = vec![1, 2, 3];
[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: `param`
[INFO] [stdout]   --> elab/src/syntax/core.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Lam(param, body) => body.do_subst(sub),
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]   --> elab/src/tyck/env.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         self.context_data.borrow().lookup_global(name)
[INFO] [stdout]    |         --------------------------^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout]    |         temporary value created here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty1`
[INFO] [stdout]   --> elab/src/tyck/tycker.rs:83:25
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn unify(&mut self, ty1: Core, ty2: Core) -> Result<Core, UnifyError> {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ty1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty2`
[INFO] [stdout]   --> elab/src/tyck/tycker.rs:83:36
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn unify(&mut self, ty1: Core, ty2: Core) -> Result<Core, UnifyError> {
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ty2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `elab` (bin "elab") due to 5 previous errors; 17 warnings emitted
[INFO] [stdout] warning: unused variable: `param`
[INFO] [stdout]    --> elab/src/tyck/tycker.rs:119:15
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn gen_pi(param: &Box<ConcParamMaybe>, body: &Box<Raw>) -> Core {
[INFO] [stdout]     |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]    --> elab/src/tyck/tycker.rs:119:44
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn gen_pi(param: &Box<ConcParamMaybe>, body: &Box<Raw>) -> Core {
[INFO] [stdout]     |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e74b79230f8b06d1c8c5a48da2602f9872cb2af13171484c8d04dbe016f29668", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e74b79230f8b06d1c8c5a48da2602f9872cb2af13171484c8d04dbe016f29668", kill_on_drop: false }`
[INFO] [stdout] e74b79230f8b06d1c8c5a48da2602f9872cb2af13171484c8d04dbe016f29668
