[INFO] cloning repository https://github.com/Innf107/flora-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Innf107/flora-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInnf107%2Fflora-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInnf107%2Fflora-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ddbcbc0dc815144ccf15d62a25a487274d7fa89 [INFO] checking Innf107/flora-rust against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInnf107%2Fflora-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Innf107/flora-rust [INFO] finished tweaking git repo https://github.com/Innf107/flora-rust [INFO] tweaked toml for git repo https://github.com/Innf107/flora-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Innf107/flora-rust on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Innf107/flora-rust 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Innf107/flora-rust against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInnf107%2Fflora-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Innf107/flora-rust [INFO] finished tweaking git repo https://github.com/Innf107/flora-rust [INFO] tweaked toml for git repo https://github.com/Innf107/flora-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Innf107/flora-rust on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Innf107/flora-rust 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8981d3d67de959a457df8ed918e9c895a445cb619ac47a82e94080f5592d473e [INFO] running `Command { std: "docker" "start" "-a" "8981d3d67de959a457df8ed918e9c895a445cb619ac47a82e94080f5592d473e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8981d3d67de959a457df8ed918e9c895a445cb619ac47a82e94080f5592d473e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8981d3d67de959a457df8ed918e9c895a445cb619ac47a82e94080f5592d473e", kill_on_drop: false }` [INFO] [stdout] 8981d3d67de959a457df8ed918e9c895a445cb619ac47a82e94080f5592d473e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68b93404d3e3112267d0df5dc158272473826dd77eaa7153aa392cec80631b4a [INFO] running `Command { std: "docker" "start" "-a" "68b93404d3e3112267d0df5dc158272473826dd77eaa7153aa392cec80631b4a", kill_on_drop: false }` [INFO] [stderr] Checking flora-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 48 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 48 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `rt` [INFO] [stdout] --> src/main.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 72 | [INFO] [stdout] 73 | rt.register_handler("print", |x| { [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `rt` [INFO] [stdout] --> src/main.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 72 | [INFO] [stdout] 73 | rt.register_handler("print", |x| { [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 76 | [INFO] [stdout] 77 | let mut conts = vec![(rt.initial(), [])]; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 76 | [INFO] [stdout] 77 | let mut conts = vec![(rt.initial(), [])]; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/main.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | None => break results.pop(); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] | [INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression [INFO] [stdout] | [INFO] [stdout] 82 - None => break results.pop(); [INFO] [stdout] 82 + None => break results.pop(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/main.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | None => break results.pop(); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] | [INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression [INFO] [stdout] | [INFO] [stdout] 82 - None => break results.pop(); [INFO] [stdout] 82 + None => break results.pop(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `conts` [INFO] [stdout] --> src/main.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | conts.push(Handle) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 107 | conts.push(Run(cont, [true])); [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `conts` [INFO] [stdout] --> src/main.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | conts.push(Handle) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 107 | conts.push(Run(cont, [true])); [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `handle` [INFO] [stdout] --> src/main.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | println!(x) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 140 | handle(cont) [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `handle` [INFO] [stdout] --> src/main.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | println!(x) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 140 | handle(cont) [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 159 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 159 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `handle` is defined multiple times [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 115 | fn handle(cont: Continuation, arguments: &[Value]) { [INFO] [stdout] | ----------------------------------------------------- previous definition of the value `handle` here [INFO] [stdout] ... [INFO] [stdout] 128 | fn handle(cont: HostCont){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `handle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `handle` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `handle` is defined multiple times [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 115 | fn handle(cont: Continuation, arguments: &[Value]) { [INFO] [stdout] | ----------------------------------------------------- previous definition of the value `handle` here [INFO] [stdout] ... [INFO] [stdout] 136 | fn handle(cont: Continuation, arguments: &[Value]){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `handle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `handle` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | Eff(String, Vec, Continuation) [INFO] [stdout] | ^^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 12 ~ enum Outcome<'a> { [INFO] [stdout] 13 | Ok, [INFO] [stdout] 14 | Err, [INFO] [stdout] 15 ~ Eff(String, Vec, Continuation<'a>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | Eff(String, Vec, Continuation) [INFO] [stdout] | ^^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 12 ~ enum Outcome<'a> { [INFO] [stdout] 13 | Ok, [INFO] [stdout] 14 | Err, [INFO] [stdout] 15 ~ Eff(String, Vec, Continuation<'a>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | Eff(String, Vec, Continuation) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::syntax::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flora-rust` (bin "flora-rust") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stdout] --> src/main.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | match rt.resume(cont, arguments) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: use the `|| { ... }` closure form instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | Continue(Continuation), [INFO] [stdout] | ^^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 122 ~ enum HostCont<'a> { [INFO] [stdout] 123 ~ Continue(Continuation<'a>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | Random1(Continuation, Value), [INFO] [stdout] | ^^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 122 ~ enum HostCont<'a> { [INFO] [stdout] 123 | Continue(Continuation), [INFO] [stdout] 124 ~ Random1(Continuation<'a>, Value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | Random2(Continuation) [INFO] [stdout] | ^^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 122 ~ enum HostCont<'a> { [INFO] [stdout] 123 | Continue(Continuation), [INFO] [stdout] 124 | Random1(Continuation, Value), [INFO] [stdout] 125 ~ Random2(Continuation<'a>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stdout] --> src/main.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | match rt.resume(cont, arguments) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: use the `|| { ... }` closure form instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stdout] --> src/main.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | let true_case = handle(rt.clone(cont), &[true]); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: use the `|| { ... }` closure form instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | Eff(String, Vec, Continuation) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::syntax::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/main.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let rt = Runtime::new("let fib(n) = if n < 2 then n else fib(n - 1) + fib(n - 2); perform print(fib(9))"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Runtime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Eff` in this scope [INFO] [stdout] --> src/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | Eff("print", [Int(89)], next_cont) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Outcome::Eff; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Int` in this scope [INFO] [stdout] --> src/main.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | Eff("print", [Int(89)], next_cont) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Value::Int; [INFO] [stdout] | [INFO] [stdout] 33 + use std::mem::type_info::TypeKind::Int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/main.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let rt = Runtime::new("print(3)"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Runtime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/main.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | let rt = Runtime::new("if perform rand() then 1 else 2"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Runtime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Handle` in this scope [INFO] [stdout] --> src/main.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | Some(Handle(rustcont)) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Expr::Handle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Handle` in this scope [INFO] [stdout] --> src/main.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | Some(Handle("random")) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Expr::Handle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Run` in this scope [INFO] [stdout] --> src/main.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | Some(Run(cont, arguments)) => match rt.resume(cont, arguments) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Eff` in this scope [INFO] [stdout] --> src/main.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | Eff("random", [], cont) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Outcome::Eff; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Handle` in this scope [INFO] [stdout] --> src/main.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | conts.push(Handle("random")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn handle(cont: Continuation, arguments: &[Value]) { [INFO] [stdout] | ----------------------------------------------------- similarly named function `handle` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 92 - conts.push(Handle("random")); [INFO] [stdout] 92 + conts.push(handle("random")); [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Expr::Handle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:115:55 [INFO] [stdout] | [INFO] [stdout] 115 | fn handle(cont: Continuation, arguments: &[Value]) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Eff` in this scope [INFO] [stdout] --> src/main.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | Eff("print", x, cont) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Outcome::Eff; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | Random1(Continuation, Value), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:136:52 [INFO] [stdout] | [INFO] [stdout] 136 | fn handle(cont: Continuation, arguments: &[Value]){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Eff` in this scope [INFO] [stdout] --> src/main.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | Eff("print", x, cont) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Outcome::Eff; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Eff` in this scope [INFO] [stdout] --> src/main.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | Eff("random", [], cont) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Outcome::Eff; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cont` in this scope [INFO] [stdout] --> src/main.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | match rt.resume(cont) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 152 | match rt.resume(conts) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Eff` in this scope [INFO] [stdout] --> src/main.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | Eff("print", [Int(89)], next_cont) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::Outcome::Eff; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Int` in this scope [INFO] [stdout] --> src/main.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | Eff("print", [Int(89)], next_cont) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Value::Int; [INFO] [stdout] | [INFO] [stdout] 33 + use std::mem::type_info::TypeKind::Int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cont` in this scope [INFO] [stdout] --> src/main.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | cont = next_cont; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 | conts = next_cont; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 155 | let cont = next_cont; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | conts.push(Run((cont), [false])); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - conts.push(Run((cont), [false])); [INFO] [stdout] 108 + conts.push(Run(cont , [false])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `combine` in this scope [INFO] [stdout] --> src/main.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | results.push(combine(results.pop(), results.pop())) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found enum `Result` [INFO] [stdout] --> src/main.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(x) => conts.push(Result(x)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try to construct one of the enum's variants [INFO] [stdout] | [INFO] [stdout] 90 - Ok(x) => conts.push(Result(x)), [INFO] [stdout] 90 + Ok(x) => conts.push(std::result::Result::Err(x)), [INFO] [stdout] | [INFO] [stdout] 90 - Ok(x) => conts.push(Result(x)), [INFO] [stdout] 90 + Ok(x) => conts.push(std::result::Result::Ok(x)), [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 90 - Ok(x) => conts.push(Result(x)), [INFO] [stdout] 90 + Ok(x) => conts.push(results(x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Run` in this scope [INFO] [stdout] --> src/main.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | conts.push(Run(cont, [true])); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Run` in this scope [INFO] [stdout] --> src/main.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | conts.push(Run((cont), [false])); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 80 | / loop { [INFO] [stdout] 81 | | match conts.pop() { [INFO] [stdout] 82 | | None => break results.pop(); [INFO] [stdout] 83 | | Some(Handle(rustcont)) => { [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 149 | handle(rt.initial(), &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | handle(cont) [INFO] [stdout] | ^^^^^^------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | fn handle(cont: Continuation, arguments: &[Value]) { [INFO] [stdout] | ^^^^^^ ------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 140 | handle(cont, /* arguments */) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `combine` in this scope [INFO] [stdout] --> src/main.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | combine(true_case, false_case); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `HostCont::Continue(_)`, `HostCont::Random1(_, _)` and `HostCont::Random2(_)` not covered [INFO] [stdout] --> src/main.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | match cont { [INFO] [stdout] | ^^^^ patterns `HostCont::Continue(_)`, `HostCont::Random1(_, _)` and `HostCont::Random2(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `HostCont` defined here [INFO] [stdout] --> src/main.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | enum HostCont { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 123 | Continue(Continuation), [INFO] [stdout] | -------- not covered [INFO] [stdout] 124 | Random1(Continuation, Value), [INFO] [stdout] | ------- not covered [INFO] [stdout] 125 | Random2(Continuation) [INFO] [stdout] | ------- not covered [INFO] [stdout] = note: the matched value is of type `HostCont` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms [INFO] [stdout] | [INFO] [stdout] 130 | match cont { [INFO] [stdout] 131 ~ HostCont::Continue(_) | HostCont::Random1(_, _) | HostCont::Random2(_) => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0061, E0106, E0423, E0425, E0428, E0433, E0434, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flora-rust` (bin "flora-rust" test) due to 44 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68b93404d3e3112267d0df5dc158272473826dd77eaa7153aa392cec80631b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68b93404d3e3112267d0df5dc158272473826dd77eaa7153aa392cec80631b4a", kill_on_drop: false }` [INFO] [stdout] 68b93404d3e3112267d0df5dc158272473826dd77eaa7153aa392cec80631b4a