[INFO] fetching crate lincoln_ir 0.1.0... [INFO] testing lincoln_ir-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate lincoln_ir 0.1.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate lincoln_ir 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lincoln_ir 0.1.0 [INFO] finished tweaking crates.io crate lincoln_ir 0.1.0 [INFO] tweaked toml for crates.io crate lincoln_ir 0.1.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfc642c11f30f18f0612ee33f0f155c67758c4d8aeea660b902a14a3125fe1b9 [INFO] running `Command { std: "docker" "start" "-a" "bfc642c11f30f18f0612ee33f0f155c67758c4d8aeea660b902a14a3125fe1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfc642c11f30f18f0612ee33f0f155c67758c4d8aeea660b902a14a3125fe1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc642c11f30f18f0612ee33f0f155c67758c4d8aeea660b902a14a3125fe1b9", kill_on_drop: false }` [INFO] [stdout] bfc642c11f30f18f0612ee33f0f155c67758c4d8aeea660b902a14a3125fe1b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a58a355f93ec756bb7a1a77cce44760ed792266e84be7aa186b0806a3078181 [INFO] running `Command { std: "docker" "start" "-a" "2a58a355f93ec756bb7a1a77cce44760ed792266e84be7aa186b0806a3078181", kill_on_drop: false }` [INFO] [stderr] Compiling lincoln_common v0.1.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling lincoln_compiled v0.1.0 [INFO] [stderr] Compiling lincoln_ir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `self.coderef_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/codemap.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 41 | let cont = self [INFO] [stdout] | ____________________- [INFO] [stdout] 42 | | .coderef_map [INFO] [stdout] 43 | | .get(&cont) [INFO] [stdout] | |_______________________- immutable borrow occurs here [INFO] [stdout] 44 | .ok_or(CodeMapError::EntryNotFound(cont))?; [INFO] [stdout] 45 | self.coderef_map.insert(ent, self.prog.add_jump(*cont, per)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.coderef_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/codemap.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 55 | let call = self [INFO] [stdout] | ____________________- [INFO] [stdout] 56 | | .coderef_map [INFO] [stdout] 57 | | .get(&callee) [INFO] [stdout] | |_________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 76 | / self.coderef_map [INFO] [stdout] 77 | | .insert(ent, self.prog.add_call(call.clone(), callcnt, grp)); [INFO] [stdout] | |_____________________________________________________------------_______________^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.coderef_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/codemap.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 55 | let call = self [INFO] [stdout] | ____________________- [INFO] [stdout] 56 | | .coderef_map [INFO] [stdout] 57 | | .get(&callee) [INFO] [stdout] | |_________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 65 | / self.coderef_map [INFO] [stdout] 66 | | .insert(ent, self.prog.add_call(call.clone(), callcnt, *cont)); [INFO] [stdout] | |_____________________________________________________------------_________________^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "2a58a355f93ec756bb7a1a77cce44760ed792266e84be7aa186b0806a3078181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a58a355f93ec756bb7a1a77cce44760ed792266e84be7aa186b0806a3078181", kill_on_drop: false }` [INFO] [stdout] 2a58a355f93ec756bb7a1a77cce44760ed792266e84be7aa186b0806a3078181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0937504f33fdea62951c8425e45a2ae838e93f8d76b62d99a9467e667b0549 [INFO] running `Command { std: "docker" "start" "-a" "2b0937504f33fdea62951c8425e45a2ae838e93f8d76b62d99a9467e667b0549", kill_on_drop: false }` [INFO] [stdout] warning: cannot borrow `self.coderef_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/codemap.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 41 | let cont = self [INFO] [stdout] | ____________________- [INFO] [stdout] 42 | | .coderef_map [INFO] [stdout] 43 | | .get(&cont) [INFO] [stdout] | |_______________________- immutable borrow occurs here [INFO] [stdout] 44 | .ok_or(CodeMapError::EntryNotFound(cont))?; [INFO] [stdout] 45 | self.coderef_map.insert(ent, self.prog.add_jump(*cont, per)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.coderef_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/codemap.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 55 | let call = self [INFO] [stdout] | ____________________- [INFO] [stdout] 56 | | .coderef_map [INFO] [stdout] 57 | | .get(&callee) [INFO] [stdout] | |_________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 76 | / self.coderef_map [INFO] [stdout] 77 | | .insert(ent, self.prog.add_call(call.clone(), callcnt, grp)); [INFO] [stdout] | |_____________________________________________________------------_______________^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lincoln_ir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `self.coderef_map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/codemap.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 55 | let call = self [INFO] [stdout] | ____________________- [INFO] [stdout] 56 | | .coderef_map [INFO] [stdout] 57 | | .get(&callee) [INFO] [stdout] | |_________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 65 | / self.coderef_map [INFO] [stdout] 66 | | .insert(ent, self.prog.add_call(call.clone(), callcnt, *cont)); [INFO] [stdout] | |_____________________________________________________------------_________________^ mutable borrow occurs here [INFO] [stdout] | | [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments [INFO] [stdout] --> src/tests.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | eval: EvalFn::stateless(|p, mut c| { [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | _________________________________________takes 2 arguments [INFO] [stdout] | | [INFO] [stdout] 21 | | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 3); [INFO] [stdout] 22 | | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 2); [INFO] [stdout] 23 | | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 1); [INFO] [stdout] 24 | | Ok((Termination, c)) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |_________________^ expected closure that takes 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 3); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lincoln_compiled-0.1.0/src/value.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn unwrap(v: Box) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lincoln_compiled-0.1.0/src/value.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn unwrap(v: Box) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lincoln_compiled-0.1.0/src/value.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn unwrap(v: Box) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[fn() -> ExternEntry; 1]` is not an iterator [INFO] [stdout] --> src/tests.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | .compile([(|| ExternEntry::Eval { [INFO] [stdout] | ______________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 19 | | name: "rec2".into(), [INFO] [stdout] 20 | | eval: EvalFn::stateless(|p, mut c| { [INFO] [stdout] 21 | | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 3); [INFO] [stdout] ... | [INFO] [stdout] 25 | | }), [INFO] [stdout] 26 | | }) as fn() -> ExternEntry]) [INFO] [stdout] | |______________________________________^ `[fn() -> ExternEntry; 1]` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `[fn() -> ExternEntry; 1]` [INFO] [stdout] note: required by a bound in `PreCompileProgram::compile` [INFO] [stdout] --> src/program.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn compile(&self, externs: impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PreCompileProgram::compile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | let (next, ctx) = cprog.eval(ctx, &next).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut lincoln_compiled::Context`, found struct `lincoln_compiled::Context` [INFO] [stdout] | help: consider mutably borrowing here: `&mut ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let (next, ctx) = cprog.eval(ctx, &next).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ ------------------------------- this expression has type `lincoln_compiled::CodeRef` [INFO] [stdout] | | [INFO] [stdout] | expected enum `lincoln_compiled::CodeRef`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `lincoln_compiled::CodeRef` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let (next, ctx) = cprog.eval(ctx, &next).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ ------------------------------- this expression has type `lincoln_compiled::CodeRef` [INFO] [stdout] | | [INFO] [stdout] | expected enum `lincoln_compiled::CodeRef`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `lincoln_compiled::CodeRef` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let (next, ctx) = cprog.eval(ctx, &next).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ ------------------------------- this expression has type `lincoln_compiled::CodeRef` [INFO] [stdout] | | [INFO] [stdout] | expected enum `lincoln_compiled::CodeRef`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `lincoln_compiled::CodeRef` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments [INFO] [stdout] --> src/tests.rs:50:45 [INFO] [stdout] | [INFO] [stdout] 50 | eval: EvalFn::stateless(|p, mut c| { [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | _____________________________________________takes 2 arguments [INFO] [stdout] | | [INFO] [stdout] 51 | | let v = c.pop().unwrap(); [INFO] [stdout] 52 | | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 2); [INFO] [stdout] 53 | | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 1); [INFO] [stdout] 54 | | v.eval(p, c, 0) [INFO] [stdout] 55 | | }), [INFO] [stdout] | |_____________________^ expected closure that takes 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lincoln_compiled-0.1.0/src/value.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn unwrap(v: Box) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lincoln_compiled-0.1.0/src/value.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn unwrap(v: Box) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments [INFO] [stdout] --> src/tests.rs:59:45 [INFO] [stdout] | [INFO] [stdout] 59 | eval: EvalFn::stateless(|p, mut c| { [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | _____________________________________________takes 2 arguments [INFO] [stdout] | | [INFO] [stdout] 60 | | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 3); [INFO] [stdout] 61 | | Ok((Termination, c)) [INFO] [stdout] 62 | | }), [INFO] [stdout] | |_____________________^ expected closure that takes 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/tests.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(unwrap::(c.pop().unwrap(), p).unwrap(), 3); [INFO] [stdout] | ^^^^^^^^^^^^^ ---------------- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lincoln_compiled-0.1.0/src/value.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn unwrap(v: Box) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[fn() -> ExternEntry; 2]` is not an iterator [INFO] [stdout] --> src/tests.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | .compile([ [INFO] [stdout] | ______________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 48 | | || ExternEntry::Eval { [INFO] [stdout] 49 | | name: "rec1".into(), [INFO] [stdout] 50 | | eval: EvalFn::stateless(|p, mut c| { [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) as fn() -> ExternEntry, [INFO] [stdout] 64 | | ]) [INFO] [stdout] | |_____________^ `[fn() -> ExternEntry; 2]` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `[fn() -> ExternEntry; 2]` [INFO] [stdout] note: required by a bound in `PreCompileProgram::compile` [INFO] [stdout] --> src/program.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn compile(&self, externs: impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PreCompileProgram::compile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | let (next, ctx) = cprog.eval(ctx, &next).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&mut lincoln_compiled::Context`, found struct `lincoln_compiled::Context` [INFO] [stdout] | help: consider mutably borrowing here: `&mut ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let (next, ctx) = cprog.eval(ctx, &next).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ ------------------------------- this expression has type `lincoln_compiled::CodeRef` [INFO] [stdout] | | [INFO] [stdout] | expected enum `lincoln_compiled::CodeRef`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `lincoln_compiled::CodeRef` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let (next, ctx) = cprog.eval(ctx, &next).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ ------------------------------- this expression has type `lincoln_compiled::CodeRef` [INFO] [stdout] | | [INFO] [stdout] | expected enum `lincoln_compiled::CodeRef`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `lincoln_compiled::CodeRef` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let (next, ctx) = cprog.eval(ctx, &next).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ ------------------------------- this expression has type `lincoln_compiled::CodeRef` [INFO] [stdout] | | [INFO] [stdout] | expected enum `lincoln_compiled::CodeRef`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected enum `lincoln_compiled::CodeRef` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lincoln_ir` due to 20 previous errors [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0593. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2b0937504f33fdea62951c8425e45a2ae838e93f8d76b62d99a9467e667b0549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0937504f33fdea62951c8425e45a2ae838e93f8d76b62d99a9467e667b0549", kill_on_drop: false }` [INFO] [stdout] 2b0937504f33fdea62951c8425e45a2ae838e93f8d76b62d99a9467e667b0549