[INFO] updating cached repository https://github.com/mcr431/pel [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/mcr431/pel [INFO] [stderr] 2b94be0..85d1a32 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 85d1a32e6f339f0924671a62aa77376bc4de089f [INFO] checking mcr431/pel against master#6250d56355d72264ece721e8d0dc95b16a6824b1 for pr-68350 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmcr431%2Fpel" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mcr431/pel on toolchain 6250d56355d72264ece721e8d0dc95b16a6824b1 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mcr431/pel [INFO] finished tweaking git repo https://github.com/mcr431/pel [INFO] tweaked toml for git repo https://github.com/mcr431/pel written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mcr431/pel already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+6250d56355d72264ece721e8d0dc95b16a6824b1" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2eb8ddf9dba2f0fb294d0a7be5913af25d9fbc1e6c5a0098acea2d88c7991a2f [INFO] running `"docker" "start" "-a" "2eb8ddf9dba2f0fb294d0a7be5913af25d9fbc1e6c5a0098acea2d88c7991a2f"` [INFO] [stderr] Checking pel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `Statement` [INFO] [stderr] --> src/evaluator/interpreter.rs:678:13 [INFO] [stderr] | [INFO] [stderr] 678 | use Statement::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Statement` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ExpressionChain` [INFO] [stderr] --> src/evaluator/interpreter.rs:724:13 [INFO] [stderr] | [INFO] [stderr] 724 | use ExpressionChain::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a similar path exists: `crate::ExpressionChain` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ExpressionStart` [INFO] [stderr] --> src/evaluator/interpreter.rs:725:13 [INFO] [stderr] | [INFO] [stderr] 725 | use ExpressionStart::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a similar path exists: `crate::ExpressionStart` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Symbol` [INFO] [stderr] --> src/evaluator/evaluator.rs:341:25 [INFO] [stderr] | [INFO] [stderr] 341 | Symbol::TypeVariable(Some(tvt)) => { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Symbol` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stderr] --> src/evaluator/interpreter.rs:92:25 [INFO] [stderr] | [INFO] [stderr] 92 | let ce = if let Expression::ChainableExpressionNode(ce) = &assignment_node.target { [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ExpressionStart` [INFO] [stderr] --> src/evaluator/interpreter.rs:102:26 [INFO] [stderr] | [INFO] [stderr] 102 | let var = if let ExpressionStart::VariableNode(var) = &ce.start { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ExpressionStart` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | Variable::Name(n) => n.clone(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | Variable::SelfVariable => SELF_VAR_SYMBOL_NAME.into(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | Variable::SelfType => SELF_TYPE_SYMBOL_NAME.into(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | Declaration::EnumDeclarationNode(enum_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | Declaration::ContractDeclarationNode(contract_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | Declaration::ImplementationDeclarationNode(impl_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:184:13 [INFO] [stderr] | [INFO] [stderr] 184 | Declaration::ObjectDeclarationNode(obj_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | Declaration::FunctionDeclarationNode(func_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:242:29 [INFO] [stderr] | [INFO] [stderr] 242 | ty: KindHash::clone(enu_kind_hash), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:309:33 [INFO] [stderr] | [INFO] [stderr] 309 | self.stack.push(KindHash::clone(enu_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:322:40 [INFO] [stderr] | [INFO] [stderr] 322 | let item = Item::TypeReference(KindHash::clone(enu_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:373:33 [INFO] [stderr] | [INFO] [stderr] 373 | self.stack.push(KindHash::clone(obj_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:425:37 [INFO] [stderr] | [INFO] [stderr] 425 | self.stack.push(KindHash::clone(contract_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:475:26 [INFO] [stderr] | [INFO] [stderr] 475 | implementor: KindHash::clone(implementor_kind_hash), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:476:27 [INFO] [stderr] | [INFO] [stderr] 476 | implementing: KindHash::clone(contract_kind_hash), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:487:38 [INFO] [stderr] | [INFO] [stderr] 487 | o.vtables.insert(KindHash::clone(contract_kind_hash), vptr); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `Statement` [INFO] [stderr] --> src/evaluator/interpreter.rs:678:13 [INFO] [stderr] | [INFO] [stderr] 678 | use Statement::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Statement` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:490:38 [INFO] [stderr] | [INFO] [stderr] 490 | e.vtables.insert(KindHash::clone(contract_kind_hash), vptr); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:522:33 [INFO] [stderr] | [INFO] [stderr] 522 | self.stack.push(KindHash::clone(implementor_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ExpressionChain` [INFO] [stderr] --> src/evaluator/interpreter.rs:724:13 [INFO] [stderr] | [INFO] [stderr] 724 | use ExpressionChain::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a similar path exists: `crate::ExpressionChain` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ExpressionStart` [INFO] [stderr] --> src/evaluator/interpreter.rs:725:13 [INFO] [stderr] | [INFO] [stderr] 725 | use ExpressionStart::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a similar path exists: `crate::ExpressionStart` [INFO] [stderr] | [INFO] [stderr] = note: `use` statements changed in Rust 2018; read more at [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FunctionParameter` [INFO] [stderr] --> src/evaluator/interpreter.rs:618:17 [INFO] [stderr] | [INFO] [stderr] 618 | FunctionParameter::SelfParam => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FunctionParameter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FunctionParameter` [INFO] [stderr] --> src/evaluator/interpreter.rs:622:17 [INFO] [stderr] | [INFO] [stderr] 622 | FunctionParameter::TypedVariableDeclarationParam(tvd) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FunctionParameter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Symbol` [INFO] [stderr] --> src/evaluator/evaluator.rs:341:25 [INFO] [stderr] | [INFO] [stderr] 341 | Symbol::TypeVariable(Some(tvt)) => { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Symbol` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stderr] --> src/evaluator/interpreter.rs:92:25 [INFO] [stderr] | [INFO] [stderr] 92 | let ce = if let Expression::ChainableExpressionNode(ce) = &assignment_node.target { [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:733:21 [INFO] [stderr] | [INFO] [stderr] 733 | Variable::Name(name) => name.clone(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ExpressionStart` [INFO] [stderr] --> src/evaluator/interpreter.rs:102:26 [INFO] [stderr] | [INFO] [stderr] 102 | let var = if let ExpressionStart::VariableNode(var) = &ce.start { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `ExpressionStart` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:734:21 [INFO] [stderr] | [INFO] [stderr] 734 | Variable::SelfVariable => "self".to_string(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | Variable::Name(n) => n.clone(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:735:21 [INFO] [stderr] | [INFO] [stderr] 735 | Variable::SelfType => "Self".to_string(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | Variable::SelfVariable => SELF_VAR_SYMBOL_NAME.into(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | Variable::SelfType => SELF_TYPE_SYMBOL_NAME.into(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | Declaration::EnumDeclarationNode(enum_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | Declaration::ContractDeclarationNode(contract_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | Declaration::ImplementationDeclarationNode(impl_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:184:13 [INFO] [stderr] | [INFO] [stderr] 184 | Declaration::ObjectDeclarationNode(obj_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Declaration` [INFO] [stderr] --> src/evaluator/interpreter.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | Declaration::FunctionDeclarationNode(func_decl) [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Declaration` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:242:29 [INFO] [stderr] | [INFO] [stderr] 242 | ty: KindHash::clone(enu_kind_hash), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::BooleanType), KindTable::BOOL_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:11:51 [INFO] [stderr] | [INFO] [stderr] 11 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::BooleanType), KindTable::BOOL_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:309:33 [INFO] [stderr] | [INFO] [stderr] 309 | self.stack.push(KindHash::clone(enu_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:11:76 [INFO] [stderr] | [INFO] [stderr] 11 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::BooleanType), KindTable::BOOL_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:322:40 [INFO] [stderr] | [INFO] [stderr] 322 | let item = Item::TypeReference(KindHash::clone(enu_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | env.insert("bool".into(), KindTable::BOOL_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::CharType), KindTable::CHAR_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:14:51 [INFO] [stderr] | [INFO] [stderr] 14 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::CharType), KindTable::CHAR_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:373:33 [INFO] [stderr] | [INFO] [stderr] 373 | self.stack.push(KindHash::clone(obj_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:14:73 [INFO] [stderr] | [INFO] [stderr] 14 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::CharType), KindTable::CHAR_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | env.insert("char".into(), KindTable::CHAR_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::StringType), KindTable::STRING_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:17:51 [INFO] [stderr] | [INFO] [stderr] 17 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::StringType), KindTable::STRING_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:425:37 [INFO] [stderr] | [INFO] [stderr] 425 | self.stack.push(KindHash::clone(contract_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:475:26 [INFO] [stderr] | [INFO] [stderr] 475 | implementor: KindHash::clone(implementor_kind_hash), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:476:27 [INFO] [stderr] | [INFO] [stderr] 476 | implementing: KindHash::clone(contract_kind_hash), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:17:75 [INFO] [stderr] | [INFO] [stderr] 17 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::StringType), KindTable::STRING_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:18:33 [INFO] [stderr] | [INFO] [stderr] 18 | env.insert("string".into(), KindTable::STRING_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:20:35 [INFO] [stderr] | [INFO] [stderr] 20 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::IntegerType), KindTable::INT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:20:51 [INFO] [stderr] | [INFO] [stderr] 20 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::IntegerType), KindTable::INT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:20:76 [INFO] [stderr] | [INFO] [stderr] 20 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::IntegerType), KindTable::INT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | env.insert("int".into(), KindTable::INT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::FloatType), KindTable::FLOAT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:23:51 [INFO] [stderr] | [INFO] [stderr] 23 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::FloatType), KindTable::FLOAT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:23:74 [INFO] [stderr] | [INFO] [stderr] 23 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::FloatType), KindTable::FLOAT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | env.insert("float".into(), KindTable::FLOAT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:26:49 [INFO] [stderr] | [INFO] [stderr] 26 | let print_symbol_id = kind_table.new_symbol(Kind::NativeFunction(print_nat_fn())); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 50 | Kind::Value(Value::StringValue(s)) => { [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:487:38 [INFO] [stderr] | [INFO] [stderr] 487 | o.vtables.insert(KindHash::clone(contract_kind_hash), vptr); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SymbolTable` in this scope [INFO] [stderr] --> src/evaluator/evaluator.rs:718:73 [INFO] [stderr] | [INFO] [stderr] 718 | pub fn is_compatible_with(&self, other: &FunctionSignature, table: &SymbolTable) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:490:38 [INFO] [stderr] | [INFO] [stderr] 490 | e.vtables.insert(KindHash::clone(contract_kind_hash), vptr); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VariableAssignment` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:91:56 [INFO] [stderr] | [INFO] [stderr] 91 | fn var_name_to_define(&mut self, assignment_node: &VariableAssignment) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::VariableAssignment; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindHash` [INFO] [stderr] --> src/evaluator/interpreter.rs:522:33 [INFO] [stderr] | [INFO] [stderr] 522 | self.stack.push(KindHash::clone(implementor_kind_hash)); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `KindHash` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Program` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:167:43 [INFO] [stderr] | [INFO] [stderr] 167 | fn visit_program(&mut self, program: &Program) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Program; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Declaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:173:44 [INFO] [stderr] | [INFO] [stderr] 173 | fn visit_declaration(&mut self, decl: &Declaration) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Declaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FunctionParameter` [INFO] [stderr] --> src/evaluator/interpreter.rs:618:17 [INFO] [stderr] | [INFO] [stderr] 618 | FunctionParameter::SelfParam => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FunctionParameter` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FunctionParameter` [INFO] [stderr] --> src/evaluator/interpreter.rs:622:17 [INFO] [stderr] | [INFO] [stderr] 622 | FunctionParameter::TypedVariableDeclarationParam(tvd) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `FunctionParameter` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EnumDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:192:54 [INFO] [stderr] | [INFO] [stderr] 192 | fn visit_enum_declaration(&mut self, enum_decl: &EnumDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::EnumDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:207:40 [INFO] [stderr] | [INFO] [stderr] 207 | ... if r.ty != KIND_KIND_HASH { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:327:17 [INFO] [stderr] | [INFO] [stderr] 327 | ty: KIND_KIND_HASH, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ObjectDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:341:55 [INFO] [stderr] | [INFO] [stderr] 341 | fn visit_object_declaration(&mut self, obj_decl: &ObjectDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ObjectDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `main_module_reference` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:359:38 [INFO] [stderr] | [INFO] [stderr] 359 | parent: Reference::clone(main_module_reference), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:391:17 [INFO] [stderr] | [INFO] [stderr] 391 | ty: KIND_KIND_HASH, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ContractDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:405:62 [INFO] [stderr] | [INFO] [stderr] 405 | fn visit_contract_declaration(&mut self, contract_decl: &ContractDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ContractDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `obj` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:420:47 [INFO] [stderr] | [INFO] [stderr] 420 | self.kind_table.insert(Kind::Contract(obj)); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:442:17 [INFO] [stderr] | [INFO] [stderr] 442 | ty: KIND_KIND_HASH, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ImplementationDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:456:64 [INFO] [stderr] | [INFO] [stderr] 456 | fn visit_implementation_declaration(&mut self, impl_decl: &ImplementationDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ImplementationDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:462:39 [INFO] [stderr] | [INFO] [stderr] 462 | if implementor_type_ref.ty != KIND_KIND_HASH { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:469:36 [INFO] [stderr] | [INFO] [stderr] 469 | if contract_type_ref.ty != KIND_KIND_HASH { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `KindHash` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:500:57 [INFO] [stderr] | [INFO] [stderr] 500 | let required_functions_by_name: HashMap = if let Kind::Contract(c) = contract.read().unwrap().deref() { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::evaluator::evaluator::KindHash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `impl_sig` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:528:18 [INFO] [stderr] | [INFO] [stderr] 528 | (impl_sig.name.clone(), Value::clone(func_val)) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `contract_sym` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:535:39 [INFO] [stderr] | [INFO] [stderr] 535 | ... contract_sym.read().unwrap().kind_hash(&self.symbol_table).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `contract` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:733:21 [INFO] [stderr] | [INFO] [stderr] 733 | Variable::Name(name) => name.clone(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:734:21 [INFO] [stderr] | [INFO] [stderr] 734 | Variable::SelfVariable => "self".to_string(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `implementor_type_sym` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:536:39 [INFO] [stderr] | [INFO] [stderr] 536 | ... implementor_type_sym.read().unwrap().kind_hash(&self.symbol_table).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `implementor_type_ref` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Variable` [INFO] [stderr] --> src/evaluator/interpreter.rs:735:21 [INFO] [stderr] | [INFO] [stderr] 735 | Variable::SelfType => "Self".to_string(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Variable` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `implementor_func_sig` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:543:45 [INFO] [stderr] | [INFO] [stderr] 543 | if !req_sig.is_compatible_with(&implementor_func_sig, &self.symbol_table) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `implementor_func_ref` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `implementor_func_sig` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:547:39 [INFO] [stderr] | [INFO] [stderr] 547 | ... implementor_func_sig.kind_hash(&self.symbol_table).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `implementor_func_ref` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `contract_sym` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:556:39 [INFO] [stderr] | [INFO] [stderr] 556 | ... contract_sym.read().unwrap().kind_hash(&self.symbol_table).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `contract` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `implementor_type_sym` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:557:39 [INFO] [stderr] | [INFO] [stderr] 557 | ... implementor_type_sym.read().unwrap().kind_hash(&self.symbol_table).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `implementor_type_ref` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `func` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:558:39 [INFO] [stderr] | [INFO] [stderr] 558 | ... func.kind_hash(&self.symbol_table).unwrap()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:11:35 [INFO] [stderr] | [INFO] [stderr] 11 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::BooleanType), KindTable::BOOL_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VariantDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:570:60 [INFO] [stderr] | [INFO] [stderr] 570 | fn visit_variant_declaration(&mut self, variant_decl: &VariantDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::VariantDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FunctionDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:574:58 [INFO] [stderr] | [INFO] [stderr] 574 | fn visit_function_declaration(&mut self, func_decl: &FunctionDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::FunctionDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TypedVariableDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:660:69 [INFO] [stderr] | [INFO] [stderr] 660 | fn visit_typed_variable_declaration(&mut self, typed_var_decl: &TypedVariableDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::TypedVariableDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BlockBody` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:664:49 [INFO] [stderr] | [INFO] [stderr] 664 | fn visit_block_body(&mut self, block_body: &BlockBody) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::BlockBody; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Statement` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:677:47 [INFO] [stderr] | [INFO] [stderr] 677 | fn visit_statement(&mut self, statement: &Statement) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Statement; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `VariableAssignmentNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:681:13 [INFO] [stderr] | [INFO] [stderr] 681 | VariableAssignmentNode(var_assignment) => [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Statement::VariableAssignmentNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ReturnNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:684:13 [INFO] [stderr] | [INFO] [stderr] 684 | ReturnNode(return_node) => [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Statement::ReturnNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ExpressionNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:687:13 [INFO] [stderr] | [INFO] [stderr] 687 | ExpressionNode(expr_node) => [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Statement::ExpressionNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:11:51 [INFO] [stderr] | [INFO] [stderr] 11 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::BooleanType), KindTable::BOOL_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VariableAssignment` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:692:62 [INFO] [stderr] | [INFO] [stderr] 692 | fn visit_variable_assignment(&mut self, var_assignment: &VariableAssignment) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::VariableAssignment; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:11:76 [INFO] [stderr] | [INFO] [stderr] 11 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::BooleanType), KindTable::BOOL_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Return` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:708:46 [INFO] [stderr] | [INFO] [stderr] 708 | fn visit_return(&mut self, return_stmt: &Return) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Return; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | env.insert("bool".into(), KindTable::BOOL_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::CharType), KindTable::CHAR_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:14:51 [INFO] [stderr] | [INFO] [stderr] 14 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::CharType), KindTable::CHAR_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Expression` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:713:43 [INFO] [stderr] | [INFO] [stderr] 713 | fn visit_expression(&mut self, expr: &Expression) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Expression; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ChainableExpression` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:723:63 [INFO] [stderr] | [INFO] [stderr] 723 | fn visit_chainable_expression(&mut self, chainable_expr: &ChainableExpression) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ChainableExpression; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ConditionalNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:728:13 [INFO] [stderr] | [INFO] [stderr] 728 | ConditionalNode(ref cond_node) => self.visit_conditional(cond_node), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::ConditionalNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:14:73 [INFO] [stderr] | [INFO] [stderr] 14 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::CharType), KindTable::CHAR_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | env.insert("char".into(), KindTable::CHAR_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `MatchNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:729:13 [INFO] [stderr] | [INFO] [stderr] 729 | MatchNode(ref match_node) => self.visit_match(match_node), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::MatchNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `LoopNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:730:13 [INFO] [stderr] | [INFO] [stderr] 730 | LoopNode(ref loop_node) => self.visit_loop(loop_node), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::LoopNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `VariableNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:731:13 [INFO] [stderr] | [INFO] [stderr] 731 | VariableNode(ref variable) => { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::VariableNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ValueNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:748:13 [INFO] [stderr] | [INFO] [stderr] 748 | ValueNode(ref value) => { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::ValueNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::StringType), KindTable::STRING_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:17:51 [INFO] [stderr] | [INFO] [stderr] 17 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::StringType), KindTable::STRING_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `FieldAccessNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:759:17 [INFO] [stderr] | [INFO] [stderr] 759 | FieldAccessNode(field_access) => self.visit_field_access(field_access), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::FieldAccessNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ModuleAccessNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:760:17 [INFO] [stderr] | [INFO] [stderr] 760 | ModuleAccessNode(mod_access) => self.visit_module_access(mod_access), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::ModuleAccessNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ObjectInitializationNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:761:17 [INFO] [stderr] | [INFO] [stderr] 761 | ObjectInitializationNode(obj_init) => self.visit_object_initialization(obj_init), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::ObjectInitializationNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:17:75 [INFO] [stderr] | [INFO] [stderr] 17 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::StringType), KindTable::STRING_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:18:33 [INFO] [stderr] | [INFO] [stderr] 18 | env.insert("string".into(), KindTable::STRING_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `FunctionApplicationNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:762:17 [INFO] [stderr] | [INFO] [stderr] 762 | FunctionApplicationNode(func_app) => self.visit_function_application(func_app), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::FunctionApplicationNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `TypeApplicationNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:763:17 [INFO] [stderr] | [INFO] [stderr] 763 | TypeApplicationNode(type_app) => self.visit_type_application(type_app), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::TypeApplicationNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `BinaryOperationNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:764:17 [INFO] [stderr] | [INFO] [stderr] 764 | BinaryOperationNode(bin_op) => self.visit_binary_operation(bin_op), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::BinaryOperationNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Conditional` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:769:51 [INFO] [stderr] | [INFO] [stderr] 769 | fn visit_conditional(&mut self, conditional: &Conditional) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Conditional; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Match` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:792:44 [INFO] [stderr] | [INFO] [stderr] 792 | fn visit_match(&mut self, match_node: &Match) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Match; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Loop` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:796:42 [INFO] [stderr] | [INFO] [stderr] 796 | fn visit_loop(&mut self, loop_node: &Loop) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Loop; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FieldAccess` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:823:53 [INFO] [stderr] | [INFO] [stderr] 823 | fn visit_field_access(&mut self, field_access: &FieldAccess) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::FieldAccess; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ModuleAccess` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:882:52 [INFO] [stderr] | [INFO] [stderr] 882 | fn visit_module_access(&mut self, mod_access: &ModuleAccess) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ModuleAccess; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ObjectInitialization` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:960:58 [INFO] [stderr] | [INFO] [stderr] 960 | fn visit_object_initialization(&mut self, obj_init: &ObjectInitialization) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ObjectInitialization; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:20:35 [INFO] [stderr] | [INFO] [stderr] 20 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::IntegerType), KindTable::INT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:20:51 [INFO] [stderr] | [INFO] [stderr] 20 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::IntegerType), KindTable::INT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:20:76 [INFO] [stderr] | [INFO] [stderr] 20 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::IntegerType), KindTable::INT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FunctionApplication` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1017:57 [INFO] [stderr] | [INFO] [stderr] 1017 | fn visit_function_application(&mut self, func_app: &FunctionApplication) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::FunctionApplication; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | env.insert("int".into(), KindTable::INT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:23:35 [INFO] [stderr] | [INFO] [stderr] 23 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::FloatType), KindTable::FLOAT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ValueType` [INFO] [stderr] --> src/evaluator/prelude.rs:23:51 [INFO] [stderr] | [INFO] [stderr] 23 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::FloatType), KindTable::FLOAT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ValueType` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:23:74 [INFO] [stderr] | [INFO] [stderr] 23 | kind_table.new_symbol_with_id(Kind::ValueType(ValueType::FloatType), KindTable::FLOAT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `KindTable` [INFO] [stderr] --> src/evaluator/prelude.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | env.insert("float".into(), KindTable::FLOAT_TYPE_SYMBOL_ID); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `KindTable` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:26:49 [INFO] [stderr] | [INFO] [stderr] 26 | let print_symbol_id = kind_table.new_symbol(Kind::NativeFunction(print_nat_fn())); [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `signature` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1048:33 [INFO] [stderr] | [INFO] [stderr] 1048 | if let Some(ret_type) = signature.returns { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Kind` [INFO] [stderr] --> src/evaluator/prelude.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 50 | Kind::Value(Value::StringValue(s)) => { [INFO] [stderr] | ^^^^ use of undeclared type or module `Kind` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TypeApplication` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1053:53 [INFO] [stderr] | [INFO] [stderr] 1053 | fn visit_type_application(&mut self, type_app: &TypeApplication) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::TypeApplication; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UnaryOperation` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1193:53 [INFO] [stderr] | [INFO] [stderr] 1193 | fn visit_unary_operation(&mut self, _unary_op: &UnaryOperation) { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::UnaryOperation; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Lambda` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1197:42 [INFO] [stderr] | [INFO] [stderr] 1197 | fn visit_lambda(&mut self, _lambda: &Lambda) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Lambda; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BinaryOperation` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1201:51 [INFO] [stderr] | [INFO] [stderr] 1201 | fn visit_binary_operation(&mut self, bin_op: &BinaryOperation) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::BinaryOperation; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `KindTable` in this scope [INFO] [stderr] --> src/evaluator/prelude.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | pub(super) fn prelude(kind_table: &mut KindTable) -> HashMap { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::evaluator::evaluator::KindTable; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `KindId` in this scope [INFO] [stderr] --> src/evaluator/prelude.rs:8:70 [INFO] [stderr] | [INFO] [stderr] 8 | pub(super) fn prelude(kind_table: &mut KindTable) -> HashMap { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result_sym_id` in this scope [INFO] [stderr] --> src/evaluator/prelude.rs:46:57 [INFO] [stderr] | [INFO] [stderr] 46 | let result = interp.kind_table.load_symbol(*result_sym_id); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 153 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/functions.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 168 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/objects.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/objects.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/objects.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/objects.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/objects.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/objects.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/var_assignment.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `runner` [INFO] [stderr] --> src/tests/var_assignment.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | runner::run_code(code.into()); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `runner` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SymbolTable` in this scope [INFO] [stderr] --> src/evaluator/evaluator.rs:718:73 [INFO] [stderr] | [INFO] [stderr] 718 | pub fn is_compatible_with(&self, other: &FunctionSignature, table: &SymbolTable) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VariableAssignment` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:91:56 [INFO] [stderr] | [INFO] [stderr] 91 | fn var_name_to_define(&mut self, assignment_node: &VariableAssignment) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::VariableAssignment; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Program` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:167:43 [INFO] [stderr] | [INFO] [stderr] 167 | fn visit_program(&mut self, program: &Program) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Program; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Declaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:173:44 [INFO] [stderr] | [INFO] [stderr] 173 | fn visit_declaration(&mut self, decl: &Declaration) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Declaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EnumDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:192:54 [INFO] [stderr] | [INFO] [stderr] 192 | fn visit_enum_declaration(&mut self, enum_decl: &EnumDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::EnumDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> src/evaluator/evaluator.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use super::{prelude, interpreter::Interpreter}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:207:40 [INFO] [stderr] | [INFO] [stderr] 207 | ... if r.ty != KIND_KIND_HASH { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `DerefMut` [INFO] [stderr] --> src/evaluator/evaluator.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ops::{Deref, DerefMut}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:327:17 [INFO] [stderr] | [INFO] [stderr] 327 | ty: KIND_KIND_HASH, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `Evaluator` [INFO] [stderr] --> src/evaluator/prelude.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | use super::evaluator::{Evaluator, NativeFunction}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Expression` [INFO] [stderr] --> src/evaluator/prelude.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::syntax::parse_tree::{Expression, Value}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ObjectDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:341:55 [INFO] [stderr] | [INFO] [stderr] 341 | fn visit_object_declaration(&mut self, obj_decl: &ObjectDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ObjectDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `main_module_reference` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:359:38 [INFO] [stderr] | [INFO] [stderr] 359 | parent: Reference::clone(main_module_reference), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:391:17 [INFO] [stderr] | [INFO] [stderr] 391 | ty: KIND_KIND_HASH, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ContractDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:405:62 [INFO] [stderr] | [INFO] [stderr] 405 | fn visit_contract_declaration(&mut self, contract_decl: &ContractDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ContractDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `obj` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:420:47 [INFO] [stderr] | [INFO] [stderr] 420 | self.kind_table.insert(Kind::Contract(obj)); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:442:17 [INFO] [stderr] | [INFO] [stderr] 442 | ty: KIND_KIND_HASH, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ImplementationDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:456:64 [INFO] [stderr] | [INFO] [stderr] 456 | fn visit_implementation_declaration(&mut self, impl_decl: &ImplementationDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ImplementationDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:462:39 [INFO] [stderr] | [INFO] [stderr] 462 | if implementor_type_ref.ty != KIND_KIND_HASH { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `KIND_KIND_HASH` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:469:36 [INFO] [stderr] | [INFO] [stderr] 469 | if contract_type_ref.ty != KIND_KIND_HASH { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `KindHash` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:500:57 [INFO] [stderr] | [INFO] [stderr] 500 | let required_functions_by_name: HashMap = if let Kind::Contract(c) = contract.read().unwrap().deref() { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::evaluator::evaluator::KindHash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `impl_sig` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:528:18 [INFO] [stderr] | [INFO] [stderr] 528 | (impl_sig.name.clone(), Value::clone(func_val)) [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `contract_sym` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:535:39 [INFO] [stderr] | [INFO] [stderr] 535 | ... contract_sym.read().unwrap().kind_hash(&self.symbol_table).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `contract` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `implementor_type_sym` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:536:39 [INFO] [stderr] | [INFO] [stderr] 536 | ... implementor_type_sym.read().unwrap().kind_hash(&self.symbol_table).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `implementor_type_ref` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `implementor_func_sig` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:543:45 [INFO] [stderr] | [INFO] [stderr] 543 | if !req_sig.is_compatible_with(&implementor_func_sig, &self.symbol_table) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `implementor_func_ref` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `implementor_func_sig` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:547:39 [INFO] [stderr] | [INFO] [stderr] 547 | ... implementor_func_sig.kind_hash(&self.symbol_table).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `implementor_func_ref` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `contract_sym` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:556:39 [INFO] [stderr] | [INFO] [stderr] 556 | ... contract_sym.read().unwrap().kind_hash(&self.symbol_table).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `contract` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `implementor_type_sym` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:557:39 [INFO] [stderr] | [INFO] [stderr] 557 | ... implementor_type_sym.read().unwrap().kind_hash(&self.symbol_table).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `implementor_type_ref` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `func` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:558:39 [INFO] [stderr] | [INFO] [stderr] 558 | ... func.kind_hash(&self.symbol_table).unwrap()); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VariantDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:570:60 [INFO] [stderr] | [INFO] [stderr] 570 | fn visit_variant_declaration(&mut self, variant_decl: &VariantDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::VariantDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FunctionDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:574:58 [INFO] [stderr] | [INFO] [stderr] 574 | fn visit_function_declaration(&mut self, func_decl: &FunctionDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::FunctionDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TypedVariableDeclaration` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:660:69 [INFO] [stderr] | [INFO] [stderr] 660 | fn visit_typed_variable_declaration(&mut self, typed_var_decl: &TypedVariableDeclaration) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::TypedVariableDeclaration; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BlockBody` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:664:49 [INFO] [stderr] | [INFO] [stderr] 664 | fn visit_block_body(&mut self, block_body: &BlockBody) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::BlockBody; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/evaluator/interpreter.rs:142:69 [INFO] [stderr] | [INFO] [stderr] 142 | fn generate_type_holes(&mut self, type_params: &Vec) -> Vec<> { [INFO] [stderr] | ^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Statement` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:677:47 [INFO] [stderr] | [INFO] [stderr] 677 | fn visit_statement(&mut self, statement: &Statement) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Statement; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 115 previous errors [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `VariableAssignmentNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:681:13 [INFO] [stderr] | [INFO] [stderr] 681 | VariableAssignmentNode(var_assignment) => [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Statement::VariableAssignmentNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ReturnNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:684:13 [INFO] [stderr] | [INFO] [stderr] 684 | ReturnNode(return_node) => [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Statement::ReturnNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ExpressionNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:687:13 [INFO] [stderr] | [INFO] [stderr] 687 | ExpressionNode(expr_node) => [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Statement::ExpressionNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VariableAssignment` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:692:62 [INFO] [stderr] | [INFO] [stderr] 692 | fn visit_variable_assignment(&mut self, var_assignment: &VariableAssignment) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::VariableAssignment; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Return` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:708:46 [INFO] [stderr] | [INFO] [stderr] 708 | fn visit_return(&mut self, return_stmt: &Return) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Return; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433, E0531. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error[E0412]: cannot find type `Expression` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:713:43 [INFO] [stderr] | [INFO] [stderr] 713 | fn visit_expression(&mut self, expr: &Expression) { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Expression; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ChainableExpression` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:723:63 [INFO] [stderr] | [INFO] [stderr] 723 | fn visit_chainable_expression(&mut self, chainable_expr: &ChainableExpression) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ChainableExpression; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: could not compile `pel`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ConditionalNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:728:13 [INFO] [stderr] | [INFO] [stderr] 728 | ConditionalNode(ref cond_node) => self.visit_conditional(cond_node), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::ConditionalNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `MatchNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:729:13 [INFO] [stderr] | [INFO] [stderr] 729 | MatchNode(ref match_node) => self.visit_match(match_node), [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::MatchNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `LoopNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:730:13 [INFO] [stderr] | [INFO] [stderr] 730 | LoopNode(ref loop_node) => self.visit_loop(loop_node), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::LoopNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `VariableNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:731:13 [INFO] [stderr] | [INFO] [stderr] 731 | VariableNode(ref variable) => { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::VariableNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ValueNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:748:13 [INFO] [stderr] | [INFO] [stderr] 748 | ValueNode(ref value) => { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionStart::ValueNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `FieldAccessNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:759:17 [INFO] [stderr] | [INFO] [stderr] 759 | FieldAccessNode(field_access) => self.visit_field_access(field_access), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::FieldAccessNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ModuleAccessNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:760:17 [INFO] [stderr] | [INFO] [stderr] 760 | ModuleAccessNode(mod_access) => self.visit_module_access(mod_access), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::ModuleAccessNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `ObjectInitializationNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:761:17 [INFO] [stderr] | [INFO] [stderr] 761 | ObjectInitializationNode(obj_init) => self.visit_object_initialization(obj_init), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::ObjectInitializationNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `FunctionApplicationNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:762:17 [INFO] [stderr] | [INFO] [stderr] 762 | FunctionApplicationNode(func_app) => self.visit_function_application(func_app), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::FunctionApplicationNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `TypeApplicationNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:763:17 [INFO] [stderr] | [INFO] [stderr] 763 | TypeApplicationNode(type_app) => self.visit_type_application(type_app), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::TypeApplicationNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `BinaryOperationNode` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:764:17 [INFO] [stderr] | [INFO] [stderr] 764 | BinaryOperationNode(bin_op) => self.visit_binary_operation(bin_op), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ExpressionChain::BinaryOperationNode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Conditional` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:769:51 [INFO] [stderr] | [INFO] [stderr] 769 | fn visit_conditional(&mut self, conditional: &Conditional) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Conditional; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Match` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:792:44 [INFO] [stderr] | [INFO] [stderr] 792 | fn visit_match(&mut self, match_node: &Match) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Match; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Loop` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:796:42 [INFO] [stderr] | [INFO] [stderr] 796 | fn visit_loop(&mut self, loop_node: &Loop) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Loop; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FieldAccess` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:823:53 [INFO] [stderr] | [INFO] [stderr] 823 | fn visit_field_access(&mut self, field_access: &FieldAccess) { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::FieldAccess; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ModuleAccess` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:882:52 [INFO] [stderr] | [INFO] [stderr] 882 | fn visit_module_access(&mut self, mod_access: &ModuleAccess) { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ModuleAccess; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ObjectInitialization` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:960:58 [INFO] [stderr] | [INFO] [stderr] 960 | fn visit_object_initialization(&mut self, obj_init: &ObjectInitialization) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::ObjectInitialization; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FunctionApplication` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1017:57 [INFO] [stderr] | [INFO] [stderr] 1017 | fn visit_function_application(&mut self, func_app: &FunctionApplication) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::FunctionApplication; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `signature` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1048:33 [INFO] [stderr] | [INFO] [stderr] 1048 | if let Some(ret_type) = signature.returns { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TypeApplication` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1053:53 [INFO] [stderr] | [INFO] [stderr] 1053 | fn visit_type_application(&mut self, type_app: &TypeApplication) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::TypeApplication; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UnaryOperation` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1193:53 [INFO] [stderr] | [INFO] [stderr] 1193 | fn visit_unary_operation(&mut self, _unary_op: &UnaryOperation) { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::UnaryOperation; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Lambda` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1197:42 [INFO] [stderr] | [INFO] [stderr] 1197 | fn visit_lambda(&mut self, _lambda: &Lambda) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::Lambda; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BinaryOperation` in this scope [INFO] [stderr] --> src/evaluator/interpreter.rs:1201:51 [INFO] [stderr] | [INFO] [stderr] 1201 | fn visit_binary_operation(&mut self, bin_op: &BinaryOperation) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::syntax::parse_tree::BinaryOperation; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `KindTable` in this scope [INFO] [stderr] --> src/evaluator/prelude.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | pub(super) fn prelude(kind_table: &mut KindTable) -> HashMap { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use crate::evaluator::evaluator::KindTable; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `KindId` in this scope [INFO] [stderr] --> src/evaluator/prelude.rs:8:70 [INFO] [stderr] | [INFO] [stderr] 8 | pub(super) fn prelude(kind_table: &mut KindTable) -> HashMap { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `result_sym_id` in this scope [INFO] [stderr] --> src/evaluator/prelude.rs:46:57 [INFO] [stderr] | [INFO] [stderr] 46 | let result = interp.kind_table.load_symbol(*result_sym_id); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude` [INFO] [stderr] --> src/evaluator/evaluator.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use super::{prelude, interpreter::Interpreter}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DerefMut` [INFO] [stderr] --> src/evaluator/evaluator.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ops::{Deref, DerefMut}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Evaluator` [INFO] [stderr] --> src/evaluator/prelude.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | use super::evaluator::{Evaluator, NativeFunction}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Expression` [INFO] [stderr] --> src/evaluator/prelude.rs:6:33 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::syntax::parse_tree::{Expression, Value}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/evaluator/interpreter.rs:142:69 [INFO] [stderr] | [INFO] [stderr] 142 | fn generate_type_holes(&mut self, type_params: &Vec) -> Vec<> { [INFO] [stderr] | ^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 134 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433, E0531. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: could not compile `pel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2eb8ddf9dba2f0fb294d0a7be5913af25d9fbc1e6c5a0098acea2d88c7991a2f"` [INFO] running `"docker" "rm" "-f" "2eb8ddf9dba2f0fb294d0a7be5913af25d9fbc1e6c5a0098acea2d88c7991a2f"` [INFO] [stdout] 2eb8ddf9dba2f0fb294d0a7be5913af25d9fbc1e6c5a0098acea2d88c7991a2f