[INFO] fetching crate lincoln_ir 0.1.0... [INFO] building lincoln_ir-0.1.0 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate lincoln_ir 0.1.0 into /workspace/builds/worker-58/source [INFO] validating manifest of crates.io crate lincoln_ir 0.1.0 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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-58/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd4dd3b908706f61d1e91a8cef5f484408aa9cb093bce7769c3811466ecd45e1 [INFO] running `Command { std: "docker" "start" "-a" "fd4dd3b908706f61d1e91a8cef5f484408aa9cb093bce7769c3811466ecd45e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd4dd3b908706f61d1e91a8cef5f484408aa9cb093bce7769c3811466ecd45e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4dd3b908706f61d1e91a8cef5f484408aa9cb093bce7769c3811466ecd45e1", kill_on_drop: false }` [INFO] [stdout] fd4dd3b908706f61d1e91a8cef5f484408aa9cb093bce7769c3811466ecd45e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cdef2ecda0adbe813c28590ebdcfa38e17b65d8a10580c138dfbb8c715f4f45 [INFO] running `Command { std: "docker" "start" "-a" "5cdef2ecda0adbe813c28590ebdcfa38e17b65d8a10580c138dfbb8c715f4f45", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lincoln_common v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling smallvec v0.6.14 [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] | |________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 45 | self.coderef_map.insert(ent, self.prog.add_jump(*cont, per)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here ----- immutable borrow later used 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] | |________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 76 | self.coderef_map [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 77 | .insert(ent, self.prog.add_call(call.clone(), callcnt, grp)); [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] | |________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 65 | self.coderef_map [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 66 | .insert(ent, self.prog.add_call(call.clone(), callcnt, *cont)); [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 17.63s [INFO] running `Command { std: "docker" "inspect" "5cdef2ecda0adbe813c28590ebdcfa38e17b65d8a10580c138dfbb8c715f4f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cdef2ecda0adbe813c28590ebdcfa38e17b65d8a10580c138dfbb8c715f4f45", kill_on_drop: false }` [INFO] [stdout] 5cdef2ecda0adbe813c28590ebdcfa38e17b65d8a10580c138dfbb8c715f4f45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ed45a306d7e68c448b336ce07ab5dd4215561999350c9dca89c1afb4fef3c83 [INFO] running `Command { std: "docker" "start" "-a" "4ed45a306d7e68c448b336ce07ab5dd4215561999350c9dca89c1afb4fef3c83", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | |________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 45 | self.coderef_map.insert(ent, self.prog.add_jump(*cont, per)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here ----- immutable borrow later used 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] | |________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 76 | self.coderef_map [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 77 | .insert(ent, self.prog.add_call(call.clone(), callcnt, grp)); [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] | |________________________- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 65 | self.coderef_map [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 66 | .insert(ent, self.prog.add_call(call.clone(), callcnt, *cont)); [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] 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] [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] 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] [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] [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] [stderr] error: could not compile `lincoln_ir` due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "4ed45a306d7e68c448b336ce07ab5dd4215561999350c9dca89c1afb4fef3c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed45a306d7e68c448b336ce07ab5dd4215561999350c9dca89c1afb4fef3c83", kill_on_drop: false }` [INFO] [stdout] 4ed45a306d7e68c448b336ce07ab5dd4215561999350c9dca89c1afb4fef3c83