[INFO] cloning repository https://github.com/bento-lang/bento
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bento-lang/bento" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbento-lang%2Fbento"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbento-lang%2Fbento'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] cd1d204441f5cb20f5bb1f7fadfd910b804e96fb
[INFO] testing bento-lang/bento against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbento-lang%2Fbento" "/workspace/builds/worker-5-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bento-lang/bento
[INFO] finished tweaking git repo https://github.com/bento-lang/bento
[INFO] tweaked toml for git repo https://github.com/bento-lang/bento written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bento-lang/bento on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/bento-lang/bento already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452
[INFO] running `"docker" "start" "14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452"`
[INFO] running `"docker" "inspect" "14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452"`
[INFO] running `"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" "14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling logos-codegen v0.14.1
[INFO] [stderr]    Compiling logos-derive v0.14.1
[INFO] [stderr]    Compiling logos v0.14.1
[INFO] [stderr]    Compiling bento v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found `}`
[INFO] [stdout]   --> src/eval.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         }
[INFO] [stdout]    |         ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/eval.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[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: `std::rc::Rc`
[INFO] [stdout]  --> src/eval.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::token::Token`
[INFO] [stdout]  --> src/eval.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::token::Token;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]  --> src/obj.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{BTreeMap, HashMap};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FlatMap`
[INFO] [stdout]  --> src/obj.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::{FlatMap, Map};
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `Map<String, Rc<RefCell<Obj>>>` cannot be built from an iterator over elements of type `(String, Rc<RefCell<Obj>>)`
[INFO] [stdout]   --> src/eval.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 44 |                     .collect(),
[INFO] [stdout]    |                      ^^^^^^^ value of type `Map<String, Rc<RefCell<Obj>>>` cannot be built from `std::iter::Iterator<Item=(String, Rc<RefCell<Obj>>)>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromIterator<(String, Rc<RefCell<Obj>>)>` is not implemented for `Map<String, Rc<RefCell<Obj>>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]   --> src/eval.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |                   m.iter()
[INFO] [stdout]    |                   - ------ `Iterator::Item` is `&(Expr, Expr)` here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this expression has type `&Vec<(Expr, Expr)>`
[INFO] [stdout] 40 |                       .map(|(k, v)| (match self.eval(k).into_inner() {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 41 | |                         Obj::String(s) => s,
[INFO] [stdout] 42 | |                         _ => panic!("Map property must be string")
[INFO] [stdout] 43 | |                     }, self.eval(v)))
[INFO] [stdout]    | |_____________________________________^ `Iterator::Item` changed to `(String, Rc<RefCell<Obj>>)` here
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/iter/traits/iterator.rs:2087:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `call` found for mutable reference `&mut Evaluator` in the current scope
[INFO] [stdout]   --> src/eval.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 self.call(callee, args)
[INFO] [stdout]    |                      ^^^^ method not found in `&mut Evaluator`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `call`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Fn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/eval.rs:57:58
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 self.vars.last_mut().unwrap().insert(id, &value);
[INFO] [stdout]    |                                               ------     ^^^^^^ expected `Rc<RefCell<Obj>>`, found `&Rc<RefCell<Obj>>`
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Rc<_>`
[INFO] [stdout]            found reference `&Rc<_>`
[INFO] [stdout] help: the return type of this call is `&Rc<RefCell<Obj>>` due to the type of the argument passed
[INFO] [stdout]   --> src/eval.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 self.vars.last_mut().unwrap().insert(id, &value);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          this argument influences the return type of `insert`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/std/src/collections/hash/map.rs:889:0
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 57 -                 self.vars.last_mut().unwrap().insert(id, &value);
[INFO] [stdout] 57 +                 self.vars.last_mut().unwrap().insert(id, value);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/eval.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 let mut result = Obj::Nil;
[INFO] [stdout]    |                                  -------- expected due to this value
[INFO] [stdout] 62 |                 for expr in exprs {
[INFO] [stdout] 63 |                     result = self.eval(expr);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ expected `Obj`, found `Rc<RefCell<Obj>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Obj`
[INFO] [stdout]             found struct `Rc<RefCell<Obj>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/eval.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn eval(&mut self, expr: &Expr) -> ObjRef {
[INFO] [stdout]    |                                            ------ expected `Rc<RefCell<Obj>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 result
[INFO] [stdout]    |                 ^^^^^^ expected `Rc<RefCell<Obj>>`, found `Obj`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Rc<RefCell<Obj>>`
[INFO] [stdout]                 found enum `Obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_truthy` found for struct `Rc<RefCell<Obj>>` in the current scope
[INFO] [stdout]   --> src/eval.rs:69:25
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 if cond.is_truthy() {
[INFO] [stdout]    |                         ^^^^^^^^^ method not found in `Rc<RefCell<Obj>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/eval.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn eval(&mut self, expr: &Expr) -> ObjRef {
[INFO] [stdout]    |                                            ------ expected `Rc<RefCell<Obj>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 74 |                     Obj::Nil
[INFO] [stdout]    |                     ^^^^^^^^ expected `Rc<RefCell<Obj>>`, found `Obj`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Rc<RefCell<Obj>>`
[INFO] [stdout]                 found enum `Obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_truthy` found for struct `Rc<RefCell<Obj>>` in the current scope
[INFO] [stdout]   --> src/eval.rs:79:39
[INFO] [stdout]    |
[INFO] [stdout] 79 |                 while self.eval(cond).is_truthy() {
[INFO] [stdout]    |                                       ^^^^^^^^^ method not found in `Rc<RefCell<Obj>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/eval.rs:80:30
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 let mut result = Obj::Nil;
[INFO] [stdout]    |                                  -------- expected due to this value
[INFO] [stdout] 79 |                 while self.eval(cond).is_truthy() {
[INFO] [stdout] 80 |                     result = self.eval(body);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ expected `Obj`, found `Rc<RefCell<Obj>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Obj`
[INFO] [stdout]             found struct `Rc<RefCell<Obj>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/eval.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn eval(&mut self, expr: &Expr) -> ObjRef {
[INFO] [stdout]    |                                            ------ expected `Rc<RefCell<Obj>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 82 |                 result
[INFO] [stdout]    |                 ^^^^^^ expected `Rc<RefCell<Obj>>`, found `Obj`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Rc<RefCell<Obj>>`
[INFO] [stdout]                 found enum `Obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&Map<String, Rc<RefCell<Obj>>>` in the current scope
[INFO] [stdout]   --> src/obj.rs:50:45
[INFO] [stdout]    |
[INFO] [stdout] 50 |             (Obj::Map(a), Obj::Map(b)) => a.iter().eq(b),
[INFO] [stdout]    |                                             ^^^^ private field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `is_empty` exists for reference `&Map<String, Rc<RefCell<Obj>>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/obj.rs:67:31
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Obj::Map(m) => !m.is_empty(),
[INFO] [stdout]    |                               ^^^^^^^^ method cannot be called on `&Map<String, Rc<RefCell<Obj>>>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `String: Iterator`
[INFO] [stdout]            which is required by `Map<String, Rc<RefCell<Obj>>>: ExactSizeIterator`
[INFO] [stdout]            `<Rc<RefCell<Obj>> as FnOnce<(_,)>>::Output = _`
[INFO] [stdout]            which is required by `Map<String, Rc<RefCell<Obj>>>: ExactSizeIterator`
[INFO] [stdout]            `String: ExactSizeIterator`
[INFO] [stdout]            which is required by `Map<String, Rc<RefCell<Obj>>>: ExactSizeIterator`
[INFO] [stdout]            `Rc<RefCell<Obj>>: FnMut<(_,)>`
[INFO] [stdout]            which is required by `Map<String, Rc<RefCell<Obj>>>: ExactSizeIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bento` (bin "bento") due to 13 previous errors; 5 warnings emitted
[INFO] running `"docker" "inspect" "14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452"`
[INFO] running `"docker" "rm" "-f" "14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452"`
[INFO] [stdout] 14db8bfc6338d021498a15beb70c36af2b3a29c4dd7e8c9866aa8312f50b5452
