[INFO] cloning repository https://github.com/xurtis/tiny-eval [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xurtis/tiny-eval" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Ftiny-eval", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Ftiny-eval'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84e9458a9d84594af28501fe538c5dc8592f6cd4 [INFO] checking xurtis/tiny-eval against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Ftiny-eval" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xurtis/tiny-eval on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xurtis/tiny-eval [INFO] finished tweaking git repo https://github.com/xurtis/tiny-eval [INFO] tweaked toml for git repo https://github.com/xurtis/tiny-eval written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a0b294406c2c7462473c3214ce8276307c2799d349e46502b56d3a3ea66c6d7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6a0b294406c2c7462473c3214ce8276307c2799d349e46502b56d3a3ea66c6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a0b294406c2c7462473c3214ce8276307c2799d349e46502b56d3a3ea66c6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a0b294406c2c7462473c3214ce8276307c2799d349e46502b56d3a3ea66c6d7", kill_on_drop: false }` [INFO] [stdout] 6a0b294406c2c7462473c3214ce8276307c2799d349e46502b56d3a3ea66c6d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cffb4421c2a752ec9bfa26c4cd7216826c86be74f096e277f2a9107c6b022c8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4cffb4421c2a752ec9bfa26c4cd7216826c86be74f096e277f2a9107c6b022c8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tiny-eval v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fmap` [INFO] [stdout] --> src/operator.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | fn fold(fmap: Value, algebra: Value, recursive: Value) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fmap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `algebra` [INFO] [stdout] --> src/operator.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | fn fold(fmap: Value, algebra: Value, recursive: Value) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_algebra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> src/operator.rs:184:42 [INFO] [stdout] | [INFO] [stdout] 184 | fn fold(fmap: Value, algebra: Value, recursive: Value) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/operator.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 274 | fn index(index: Value, list: Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/operator.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 274 | fn index(index: Value, list: Value) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/operator.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmap` [INFO] [stdout] --> src/operator.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | fn fold(fmap: Value, algebra: Value, recursive: Value) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fmap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `algebra` [INFO] [stdout] --> src/operator.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | fn fold(fmap: Value, algebra: Value, recursive: Value) -> Value { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_algebra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursive` [INFO] [stdout] --> src/operator.rs:184:42 [INFO] [stdout] | [INFO] [stdout] 184 | fn fold(fmap: Value, algebra: Value, recursive: Value) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/operator.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 274 | fn index(index: Value, list: Value) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/operator.rs:274:28 [INFO] [stdout] | [INFO] [stdout] 274 | fn index(index: Value, list: Value) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/operator.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `apply_expr` in this scope [INFO] [stdout] --> examples/simple.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | apply_expr!(plus(a, b)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `apply_expr` in this scope [INFO] [stdout] --> examples/simple.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | apply_expr!(inc(a)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `apply_expr` in this scope [INFO] [stdout] --> examples/simple.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | apply_expr!(double(a)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builtin` [INFO] [stdout] --> examples/simple.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | "inc", apply(Builtin::Add, value(1)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builtin` [INFO] [stdout] --> examples/simple.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | "double", apply(Builtin::Multiply, value(2)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Builtin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> examples/simple.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | let mut context = Context::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binding::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use failure::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/simple.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | context.extend("a", value(6.2))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/simple.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | context.extend("b", value(9.8))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/simple.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | context.extend("plus", lambda("x", lambda("y", add("x", "y"))))?; [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/simple.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | context.extend("plus", lambda("x", lambda("y", add("x", "y"))))?; [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> examples/simple.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | context.extend("plus", lambda("x", lambda("y", add("x", "y"))))?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> examples/simple.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | let expr = bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply` in this scope [INFO] [stdout] --> examples/simple.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | "inc", apply(Builtin::Add, value(1)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/simple.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | "inc", apply(Builtin::Add, value(1)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> examples/simple.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply` in this scope [INFO] [stdout] --> examples/simple.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | "double", apply(Builtin::Multiply, value(2)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/simple.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | "double", apply(Builtin::Multiply, value(2)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `double` in this scope [INFO] [stdout] --> examples/simple.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | double(plus(inc("a"), "b")), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `plus` in this scope [INFO] [stdout] --> examples/simple.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | double(plus(inc("a"), "b")), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inc` in this scope [INFO] [stdout] --> examples/simple.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | double(plus(inc("a"), "b")), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `apply_expr` in this scope [INFO] [stdout] --> examples/recursion.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | apply_expr!(take(n, xs)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `apply_expr` in this scope [INFO] [stdout] --> examples/fib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | apply_expr!(fib(a, b)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> examples/fib.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let fib = bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/fib.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | "fib", lambda("a", lambda("b", bind( [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/fib.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | "fib", lambda("a", lambda("b", bind( [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> examples/fib.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | "fib", lambda("a", lambda("b", bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> examples/fib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | "next", add("a", "b"), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair` in this scope [INFO] [stdout] --> examples/fib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | pair("next", fib("b", "next")), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fib` in this scope [INFO] [stdout] --> examples/fib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | pair("next", fib("b", "next")), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair` in this scope [INFO] [stdout] --> examples/fib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pair(value(1), pair(value(1), fib(value(1), value(1)))), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/fib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pair(value(1), pair(value(1), fib(value(1), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair` in this scope [INFO] [stdout] --> examples/fib.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pair(value(1), pair(value(1), fib(value(1), value(1)))), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/fib.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | pair(value(1), pair(value(1), fib(value(1), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fib` in this scope [INFO] [stdout] --> examples/fib.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | pair(value(1), pair(value(1), fib(value(1), value(1)))), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/fib.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | pair(value(1), pair(value(1), fib(value(1), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/fib.rs:32:53 [INFO] [stdout] | [INFO] [stdout] 32 | pair(value(1), pair(value(1), fib(value(1), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> examples/fib.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | writeln!(stdout, " = {}", eval(fib)?)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/lambda.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | (Value::Int(mut base), Value::UInt(mut exponent)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/lambda.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | (Value::Int(mut base), Value::UInt(mut exponent)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/lambda.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | (Value::UInt(mut base), Value::UInt(mut exponent)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/lambda.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | (Value::UInt(mut base), Value::UInt(mut exponent)) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-eval` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `function` in this scope [INFO] [stdout] --> examples/lambda.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let pow = function("pow", |base: Value<&'static str>| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/error.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Value::Int(77) => {}, [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/error.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Value::Int(55) => {}, [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> examples/lambda.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | let pow = function("pow", |base: Value<&'static str>| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operator::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/error.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | Value::Int(33) => {}, [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> examples/error.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | let mut context = Context::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binding::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use failure::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/lambda.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(Value::Function(Rc::new(move |exponent: Value<&'static str>| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operator::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `multiply` in this scope [INFO] [stdout] --> examples/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let get_a = multiply(except(value(7), catch(lambda("x", divide("x", value(4))), "a")), value(11)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `except` in this scope [INFO] [stdout] --> examples/error.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let get_a = multiply(except(value(7), catch(lambda("x", divide("x", value(4))), "a")), value(11)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/error.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | let get_a = multiply(except(value(7), catch(lambda("x", divide("x", value(4))), "a")), value(11)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> examples/lambda.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(Value::Function(Rc::new(move |exponent: Value<&'static str>| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operator::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `catch` in this scope [INFO] [stdout] --> examples/error.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | let get_a = multiply(except(value(7), catch(lambda("x", divide("x", value(4))), "a")), value(11)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/error.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | let get_a = multiply(except(value(7), catch(lambda("x", divide("x", value(4))), "a")), value(11)); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/lambda.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Value::Int(power)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operator::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `divide` in this scope [INFO] [stdout] --> examples/error.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | let get_a = multiply(except(value(7), catch(lambda("x", divide("x", value(4))), "a")), value(11)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/error.rs:8:73 [INFO] [stdout] | [INFO] [stdout] 8 | let get_a = multiply(except(value(7), catch(lambda("x", divide("x", value(4))), "a")), value(11)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> examples/lambda.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(Value::UInt(power)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operator::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/error.rs:8:92 [INFO] [stdout] | [INFO] [stdout] 8 | let get_a = multiply(except(value(7), catch(lambda("x", divide("x", value(4))), "a")), value(11)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/error.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | context.extend("a", value(5))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `raise` in this scope [INFO] [stdout] --> examples/error.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | context.extend("a", raise(value(12)))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> examples/lambda.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let expr: Expr<&'static str> = apply(apply(pow, value(17)), value(13u64)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::binding::Expr; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lambda::Expr; [INFO] [stdout] | [INFO] [stdout] 1 | use tiny_eval::binding::Expr; [INFO] [stdout] | [INFO] [stdout] 1 | use tiny_eval::lambda::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/error.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | context.extend("a", raise(value(12)))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply` in this scope [INFO] [stdout] --> examples/lambda.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | let expr: Expr<&'static str> = apply(apply(pow, value(17)), value(13u64)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply` in this scope [INFO] [stdout] --> examples/lambda.rs:53:42 [INFO] [stdout] | [INFO] [stdout] 53 | let expr: Expr<&'static str> = apply(apply(pow, value(17)), value(13u64)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/lambda.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | let expr: Expr<&'static str> = apply(apply(pow, value(17)), value(13u64)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/lambda.rs:53:65 [INFO] [stdout] | [INFO] [stdout] 53 | let expr: Expr<&'static str> = apply(apply(pow, value(17)), value(13u64)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> examples/lambda.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | println!(" = {}", eval(expr)?); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> examples/recursion.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let expr = bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> examples/recursion.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | "fib", bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/recursion.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | "fib", lambda("a", lambda("b", bind( [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/recursion.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | "fib", lambda("a", lambda("b", bind( [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> examples/recursion.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | "fib", lambda("a", lambda("b", bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> examples/recursion.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | "next", add("a", "b"), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair` in this scope [INFO] [stdout] --> examples/recursion.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | pair("next", apply(apply("fib", "b"), "next")), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply` in this scope [INFO] [stdout] --> examples/recursion.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | pair("next", apply(apply("fib", "b"), "next")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply` in this scope [INFO] [stdout] --> examples/recursion.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pair("next", apply(apply("fib", "b"), "next")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair` in this scope [INFO] [stdout] --> examples/recursion.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | pair(value(1), pair(value(1), apply(apply("fib", value(1)), value(1)))), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/recursion.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pair(value(1), pair(value(1), apply(apply("fib", value(1)), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair` in this scope [INFO] [stdout] --> examples/recursion.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pair(value(1), pair(value(1), apply(apply("fib", value(1)), value(1)))), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/recursion.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | pair(value(1), pair(value(1), apply(apply("fib", value(1)), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply` in this scope [INFO] [stdout] --> examples/recursion.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | pair(value(1), pair(value(1), apply(apply("fib", value(1)), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `apply` in this scope [INFO] [stdout] --> examples/recursion.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | pair(value(1), pair(value(1), apply(apply("fib", value(1)), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/recursion.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | pair(value(1), pair(value(1), apply(apply("fib", value(1)), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/recursion.rs:25:73 [INFO] [stdout] | [INFO] [stdout] 25 | pair(value(1), pair(value(1), apply(apply("fib", value(1)), value(1)))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bind` in this scope [INFO] [stdout] --> examples/recursion.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | bind( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/recursion.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | "take", lambda("count", lambda("list", [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `lambda` [INFO] [stdout] --> examples/recursion.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | "take", lambda("count", lambda("list", [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `condition` in this scope [INFO] [stdout] --> examples/recursion.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | condition( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `equal` in this scope [INFO] [stdout] --> examples/recursion.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | equal("count", value(0)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/recursion.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | equal("count", value(0)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/recursion.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | value(()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair` in this scope [INFO] [stdout] --> examples/recursion.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pair( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `first` in this scope [INFO] [stdout] --> examples/recursion.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | first("list"), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `take` in this scope [INFO] [stdout] --> examples/recursion.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | take(subtract("count", value(1)), second("list")), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::mem::take; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operator::fmt::string::str::mem::take; [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> examples/recursion.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | take(subtract("count", value(1)), second("list")), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/recursion.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | take(subtract("count", value(1)), second("list")), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `second` in this scope [INFO] [stdout] --> examples/recursion.rs:34:59 [INFO] [stdout] | [INFO] [stdout] 34 | take(subtract("count", value(1)), second("list")), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `take` in this scope [INFO] [stdout] --> examples/recursion.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | take(value(35), "fib"), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::mem::take; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operator::fmt::string::str::mem::take; [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::take; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `value` in this scope [INFO] [stdout] --> examples/recursion.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | take(value(35), "fib"), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> examples/recursion.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | println!(" = {}", eval(expr)?.finalise_recursive()?); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `External` found for enum `tiny_eval::Error<_>` in the current scope [INFO] [stdout] --> examples/lambda.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | _ => Err(Error::External(Rc::new(PowError))) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `tiny_eval::Error<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4cffb4421c2a752ec9bfa26c4cd7216826c86be74f096e277f2a9107c6b022c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cffb4421c2a752ec9bfa26c4cd7216826c86be74f096e277f2a9107c6b022c8", kill_on_drop: false }` [INFO] [stdout] 4cffb4421c2a752ec9bfa26c4cd7216826c86be74f096e277f2a9107c6b022c8