[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 master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInnf107%2Fflora-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Innf107/flora-rust on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Innf107/flora-rust against try#3d5258f568a4b4970d455e4e29f39fd691b5a41a for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInnf107%2Fflora-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Innf107/flora-rust on toolchain 3d5258f568a4b4970d455e4e29f39fd691b5a41a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c1041ab03fcb94c54b8a1930789586829f875c65fe71e8caf43d18c6c2cf6e7 [INFO] running `Command { std: "docker" "start" "-a" "8c1041ab03fcb94c54b8a1930789586829f875c65fe71e8caf43d18c6c2cf6e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c1041ab03fcb94c54b8a1930789586829f875c65fe71e8caf43d18c6c2cf6e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1041ab03fcb94c54b8a1930789586829f875c65fe71e8caf43d18c6c2cf6e7", kill_on_drop: false }` [INFO] [stdout] 8c1041ab03fcb94c54b8a1930789586829f875c65fe71e8caf43d18c6c2cf6e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ad9c92af05156e86914edd7f5b46a41821cb108fe01bb69d2dcc8239c79aab1 [INFO] running `Command { std: "docker" "start" "-a" "5ad9c92af05156e86914edd7f5b46a41821cb108fe01bb69d2dcc8239c79aab1", 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 `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: `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] | ~ [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 `}` [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: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 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] | ~ [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 `}` [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[E0412]: 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[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[E0412]: 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]: failed to resolve: use of undeclared type `Runtime` [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 this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Value::Int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Runtime` [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]: failed to resolve: use of undeclared type `Runtime` [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] | ~~~~~~ [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[E0412]: 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[E0412]: 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[E0412]: 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] | ^^^^ help: a local variable with a similar name exists: `conts` [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 this tuple variant [INFO] [stdout] | [INFO] [stdout] 33 + use crate::syntax::Value::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] | ^^^^ help: a local variable with a similar name exists: `conts` [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)]` 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(std::result::Result::Err(x)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [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(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] 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: aborting due to 42 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0412, E0423, E0425, E0428, E0433, E0434, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0412. [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" test) due to 43 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `flora-rust` (bin "flora-rust") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "5ad9c92af05156e86914edd7f5b46a41821cb108fe01bb69d2dcc8239c79aab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ad9c92af05156e86914edd7f5b46a41821cb108fe01bb69d2dcc8239c79aab1", kill_on_drop: false }` [INFO] [stdout] 5ad9c92af05156e86914edd7f5b46a41821cb108fe01bb69d2dcc8239c79aab1