[INFO] cloning repository https://github.com/andreaseg/lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreaseg/lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaseg%2Flang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaseg%2Flang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82b786081c19bcd486d990ae59484860518a4b8d [INFO] checking andreaseg/lang against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaseg%2Flang" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreaseg/lang on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andreaseg/lang [INFO] finished tweaking git repo https://github.com/andreaseg/lang [INFO] tweaked toml for git repo https://github.com/andreaseg/lang written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/andreaseg/lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31e4ff6c54e9a7dd2dedb35a67d62ef331982191c701e9a3d4f761a0a120c83c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "31e4ff6c54e9a7dd2dedb35a67d62ef331982191c701e9a3d4f761a0a120c83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31e4ff6c54e9a7dd2dedb35a67d62ef331982191c701e9a3d4f761a0a120c83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31e4ff6c54e9a7dd2dedb35a67d62ef331982191c701e9a3d4f761a0a120c83c", kill_on_drop: false }` [INFO] [stdout] 31e4ff6c54e9a7dd2dedb35a67d62ef331982191c701e9a3d4f761a0a120c83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e514095f66f3d029fb6675d178e80439e54ad80cdddba0d961d77e533c4d768 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e514095f66f3d029fb6675d178e80439e54ad80cdddba0d961d77e533c4d768", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.15.8 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | use self::terminal::Constness as C; [INFO] [stdout] | ^^^^^^^^ could not find `terminal` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::ast::Scope` [INFO] [stdout] --> src/compiler/parser.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | use $error_type as path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Scope` in `compiler::parser::ast` [INFO] [stdout] ... [INFO] [stdout] 372 | / expect_tokens!(tokens, self::ast::Scope, "Expected ;", [INFO] [stdout] 373 | | (Token::Semicolon => {}),); [INFO] [stdout] | |_______________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::ast::Scope` [INFO] [stdout] --> src/compiler/parser.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | use $error_type as path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Scope` in `compiler::parser::ast` [INFO] [stdout] ... [INFO] [stdout] 372 | / expect_tokens!(tokens, self::ast::Scope, "Expected ;", [INFO] [stdout] 373 | | (Token::Semicolon => {}),); [INFO] [stdout] | |_______________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | impl ToHtml for terminal::Constness { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | use self::terminal::Constness as C; [INFO] [stdout] | ^^^^^^^^ could not find `terminal` in `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/visualizer/ast_tree.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | Scope::Closed(v) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/visualizer/ast_tree.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | Scope::Open(s) => (*s).to_html(), [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/visualizer/ast_tree.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Scope::Error(e) => e.to_html(), [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | impl ToHtml for terminal::Literal { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | terminal::Literal::Float(n) => [ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::ast::Scope` [INFO] [stdout] --> src/compiler/parser.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | use $error_type as path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Scope` in `compiler::parser::ast` [INFO] [stdout] ... [INFO] [stdout] 372 | / expect_tokens!(tokens, self::ast::Scope, "Expected ;", [INFO] [stdout] 373 | | (Token::Semicolon => {}),); [INFO] [stdout] | |_______________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | terminal::Literal::Integer(n) => [ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | terminal::Literal::String(s) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | terminal::Literal::Bool(b) => [ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::ast::Scope` [INFO] [stdout] --> src/compiler/parser.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | use $error_type as path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Scope` in `compiler::parser::ast` [INFO] [stdout] ... [INFO] [stdout] 372 | / expect_tokens!(tokens, self::ast::Scope, "Expected ;", [INFO] [stdout] 373 | | (Token::Semicolon => {}),); [INFO] [stdout] | |_______________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Scope` in this scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | impl ToHtml for Scope { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/compiler/parser.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | (parse_binding(tokens)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1264:22 [INFO] [stdout] | [INFO] [stdout] 1264 | ast::terminal::Constness::None, [INFO] [stdout] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1269:22 [INFO] [stdout] | [INFO] [stdout] 1269 | ast::Scope::Open(Box::new(ast::Statement::Call(Box::new( [INFO] [stdout] | ^^^^^ could not find `Scope` in `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1321:22 [INFO] [stdout] | [INFO] [stdout] 1321 | ast::terminal::Constness::Mut, [INFO] [stdout] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1326:22 [INFO] [stdout] | [INFO] [stdout] 1326 | ast::Scope::Open(Box::new(ast::Statement::Call(Box::new( [INFO] [stdout] | ^^^^^ could not find `Scope` in `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1346:22 [INFO] [stdout] | [INFO] [stdout] 1346 | ast::Scope::Open(Box::new(ast::Statement::Call(Box::new( [INFO] [stdout] | ^^^^^ could not find `Scope` in `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1363:18 [INFO] [stdout] | [INFO] [stdout] 1363 | ast::terminal::Constness::Mut, [INFO] [stdout] | ^^^^^^^^ could not find `terminal` in `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1368:18 [INFO] [stdout] | [INFO] [stdout] 1368 | ast::Scope::Open(Box::new(ast::Statement::Call(Box::new( [INFO] [stdout] | ^^^^^ could not find `Scope` in `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Scope` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1393:30 [INFO] [stdout] | [INFO] [stdout] 1393 | assert_eq!(ast, ast::Scope::Closed(vec![stmt1, stmt2, stmt3])); [INFO] [stdout] | ^^^^^ could not find `Scope` in `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | impl ToHtml for terminal::Constness { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/visualizer/ast_tree.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | Scope::Closed(v) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/visualizer/ast_tree.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | Scope::Open(s) => (*s).to_html(), [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/visualizer/ast_tree.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | Scope::Error(e) => e.to_html(), [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | impl ToHtml for terminal::Literal { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | terminal::Literal::Float(n) => [ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | terminal::Literal::Integer(n) => [ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | terminal::Literal::String(s) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `terminal` [INFO] [stdout] --> src/visualizer/ast_tree.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | terminal::Literal::Bool(b) => [ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:975:62 [INFO] [stdout] | [INFO] [stdout] 975 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(1))) [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:987:62 [INFO] [stdout] | [INFO] [stdout] 987 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Float(1.0))) [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1000:41 [INFO] [stdout] | [INFO] [stdout] 1000 | Box::new(ast::terminal::Literal::String("string".to_string())) [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1014:66 [INFO] [stdout] | [INFO] [stdout] 1014 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Bool(true))) [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1024:66 [INFO] [stdout] | [INFO] [stdout] 1024 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Bool(false))) [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1193:70 [INFO] [stdout] | [INFO] [stdout] 1193 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(1))), [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1194:70 [INFO] [stdout] | [INFO] [stdout] 1194 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(2))) [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1327:70 [INFO] [stdout] | [INFO] [stdout] 1327 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(1),)) [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1347:70 [INFO] [stdout] | [INFO] [stdout] 1347 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Integer(1))) [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `terminal` in `ast` [INFO] [stdout] --> src/compiler/parser.rs:1369:66 [INFO] [stdout] | [INFO] [stdout] 1369 | ast::Expression::Literal(Box::new(ast::terminal::Literal::Float(1.0))), [INFO] [stdout] | ^^^^^^^ not found in `ast::terminal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 933 | use compiler::parser::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Scope` in this scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | impl ToHtml for Scope { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/compiler/parser.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | (parse_binding(tokens)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compiler/parser.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | return path::Error(ast::ParseError::UnexpectedToken( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 205 | | other, [INFO] [stdout] 206 | | $error_message.to_string(), [INFO] [stdout] 207 | | )) [INFO] [stdout] | |______________________^ expected enum `Closure`, found enum `ast::Assignment` [INFO] [stdout] ... [INFO] [stdout] 320 | fn parse_closure(tokens: &mut Tokens) -> ast::Closure { [INFO] [stdout] | ------------ expected `Closure` because of return type [INFO] [stdout] ... [INFO] [stdout] 333 | / expect_tokens!(tokens, self::ast::Assignment, "Expected name", [INFO] [stdout] 334 | | (Token::FatRightArrow =>{}),); [INFO] [stdout] | |______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compiler/parser.rs:204:28 [INFO] [stdout] | [INFO] [stdout] 204 | return path::Error(ast::ParseError::UnexpectedToken( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 205 | | other, [INFO] [stdout] 206 | | $error_message.to_string(), [INFO] [stdout] 207 | | )) [INFO] [stdout] | |______________________^ expected enum `Closure`, found enum `parser::ast::Assignment` [INFO] [stdout] ... [INFO] [stdout] 320 | fn parse_closure(tokens: &mut Tokens) -> ast::Closure { [INFO] [stdout] | ------------ expected `Closure` because of return type [INFO] [stdout] ... [INFO] [stdout] 333 | / expect_tokens!(tokens, self::ast::Assignment, "Expected name", [INFO] [stdout] 334 | | (Token::FatRightArrow =>{}),); [INFO] [stdout] | |______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Method` found for enum `scanner::Token` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:775:24 [INFO] [stdout] | [INFO] [stdout] 775 | (_, Token::Method(_)) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `scanner::Token` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Token { [INFO] [stdout] | -------------- variant or associated item `Method` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Member` found for enum `scanner::Token` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:780:24 [INFO] [stdout] | [INFO] [stdout] 780 | (_, Token::Member(name)) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `scanner::Token` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Token { [INFO] [stdout] | -------------- variant or associated item `Member` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:781:45 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 781 | let expr = ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:804:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 804 | ast::Expression::Field(right_symbol)) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:822:31 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 822 | (ast::Expression::Field(left_symbol), [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:831:31 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 831 | (ast::Expression::Field(left_symbol), [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:832:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 832 | ast::Expression::Field(right_symbol)) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:842:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 842 | left_args), ast::Expression::Field(right_symbol)) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:809:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 809 | ast::Expression::Field(right_symbol) [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:825:53 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 825 | args.insert(0, ast::Expression::Field(left_symbol)); [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:836:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 836 | ast::Expression::Field(left_symbol), [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:837:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 837 | ast::Expression::Field(right_symbol) [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:847:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 847 | ast::Expression::Field(right_symbol) [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:864:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 864 | ast::Expression::Field(_) => ast::Expression::Error(ast::ParseError::Other("Unexpected field".to_string())), [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Function` found for enum `scanner::Token` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:877:24 [INFO] [stdout] | [INFO] [stdout] 877 | (_, Token::Function(name)) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `scanner::Token` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Token { [INFO] [stdout] | -------------- variant or associated item `Function` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Method` found for enum `scanner::Token` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:878:30 [INFO] [stdout] | [INFO] [stdout] 878 | | (_, Token::Method(name)) => Symbol { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `scanner::Token` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Token { [INFO] [stdout] | -------------- variant or associated item `Method` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Method` found for enum `scanner::Token` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:775:24 [INFO] [stdout] | [INFO] [stdout] 775 | (_, Token::Method(_)) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `scanner::Token` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Token { [INFO] [stdout] | -------------- variant or associated item `Method` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Member` found for enum `scanner::Token` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:780:24 [INFO] [stdout] | [INFO] [stdout] 780 | (_, Token::Member(name)) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `scanner::Token` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Token { [INFO] [stdout] | -------------- variant or associated item `Member` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:781:45 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 781 | let expr = ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:804:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 804 | ast::Expression::Field(right_symbol)) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:822:31 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 822 | (ast::Expression::Field(left_symbol), [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:831:31 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 831 | (ast::Expression::Field(left_symbol), [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:832:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 832 | ast::Expression::Field(right_symbol)) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:842:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 842 | left_args), ast::Expression::Field(right_symbol)) => { [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:809:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 809 | ast::Expression::Field(right_symbol) [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:825:53 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 825 | args.insert(0, ast::Expression::Field(left_symbol)); [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:836:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 836 | ast::Expression::Field(left_symbol), [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:837:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 837 | ast::Expression::Field(right_symbol) [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:847:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 847 | ast::Expression::Field(right_symbol) [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:864:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 864 | ast::Expression::Field(_) => ast::Expression::Error(ast::ParseError::Other("Unexpected field".to_string())), [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Function` found for enum `scanner::Token` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:877:24 [INFO] [stdout] | [INFO] [stdout] 877 | (_, Token::Function(name)) [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `scanner::Token` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Token { [INFO] [stdout] | -------------- variant or associated item `Function` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Method` found for enum `scanner::Token` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:878:30 [INFO] [stdout] | [INFO] [stdout] 878 | | (_, Token::Method(name)) => Symbol { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `scanner::Token` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/scanner.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum Token { [INFO] [stdout] | -------------- variant or associated item `Method` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1037:30 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1037 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1078:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1078 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Function` found for enum `ast::Assignment` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | Assignment::Function(c, symbol, args, scope) => { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `ast::Assignment` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Function` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Assignment` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | Assignment::Field(c, symbol, scope) => [ [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Assignment` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1084:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1084 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Struct` found for enum `ast::Assignment` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | Assignment::Struct(symbol, members) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `ast::Assignment` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Struct` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1109:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1109 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Enum` found for enum `ast::Assignment` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | Assignment::Enum(symbol, members) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `ast::Assignment` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Enum` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1168:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1168 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_html` found for reference `&Closure` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | scope.to_html().as_ref(), [INFO] [stdout] | ^^^^^^^ method not found in `&Closure` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `ToHtml` defines an item `to_html`, perhaps you need to implement it [INFO] [stdout] --> src/visualizer/ast_tree.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | trait ToHtml { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1214:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1214 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1245:39 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1245 | vec![ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `ast::Expression` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | Expression::Field(sym) => [ [INFO] [stdout] | ^^^^^ variant or associated item not found in `ast::Expression` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_html` found for reference `&Box` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | lit.to_html().as_ref(), [INFO] [stdout] | ^^^^^^^ method not found in `&Box` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `ToHtml` defines an item `to_html`, perhaps you need to implement it [INFO] [stdout] --> src/visualizer/ast_tree.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | trait ToHtml { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Assignment` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1263:62 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1263 | ast::Statement::Assign(Box::new(ast::Assignment::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Assignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1270:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1270 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1295:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1295 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1301:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1301 | ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Assignment` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1320:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1320 | ast::Assignment::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Assignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Assignment` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1362:70 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1362 | let stmt1 = ast::Statement::Assign(Box::new(ast::Assignment::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Assignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lang` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1378:35 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1378 | vec![ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/compiler/parser.rs:1386:68 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] ... [INFO] [stdout] 1386 | let stmt3 = ast::Statement::Call(Box::new(ast::Expression::Field( [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Function` found for enum `parser::ast::Assignment` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | Assignment::Function(c, symbol, args, scope) => { [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `parser::ast::Assignment` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Function` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Assignment` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | Assignment::Field(c, symbol, scope) => [ [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Assignment` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Struct` found for enum `parser::ast::Assignment` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | Assignment::Struct(symbol, members) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `parser::ast::Assignment` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Struct` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Enum` found for enum `parser::ast::Assignment` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | Assignment::Enum(symbol, members) => { [INFO] [stdout] | ^^^^ variant or associated item not found in `parser::ast::Assignment` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Assignment { [INFO] [stdout] | ------------------- variant or associated item `Enum` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_html` found for reference `&Closure` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | scope.to_html().as_ref(), [INFO] [stdout] | ^^^^^^^ method not found in `&Closure` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `ToHtml` defines an item `to_html`, perhaps you need to implement it [INFO] [stdout] --> src/visualizer/ast_tree.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | trait ToHtml { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Field` found for enum `parser::ast::Expression` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | Expression::Field(sym) => [ [INFO] [stdout] | ^^^^^ variant or associated item not found in `parser::ast::Expression` [INFO] [stdout] | [INFO] [stdout] ::: src/compiler/parser.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Expression { [INFO] [stdout] | ------------------- variant or associated item `Field` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_html` found for reference `&Box` in the current scope [INFO] [stdout] --> src/visualizer/ast_tree.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | lit.to_html().as_ref(), [INFO] [stdout] | ^^^^^^^ method not found in `&Box` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `ToHtml` defines an item `to_html`, perhaps you need to implement it [INFO] [stdout] --> src/visualizer/ast_tree.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | trait ToHtml { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5e514095f66f3d029fb6675d178e80439e54ad80cdddba0d961d77e533c4d768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e514095f66f3d029fb6675d178e80439e54ad80cdddba0d961d77e533c4d768", kill_on_drop: false }` [INFO] [stdout] 5e514095f66f3d029fb6675d178e80439e54ad80cdddba0d961d77e533c4d768