[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] testing andreaseg/lang against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreaseg%2Flang" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreaseg/lang on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.20 [INFO] [stderr] Downloaded num-complex v0.2.0 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded memchr v2.1.0 [INFO] [stderr] Downloaded syn v0.15.8 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 143284f640a7c370630c8e4a9825b67efbccd9797dcc2f0140d2d7cc712d1de2 [INFO] running `Command { std: "docker" "start" "-a" "143284f640a7c370630c8e4a9825b67efbccd9797dcc2f0140d2d7cc712d1de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "143284f640a7c370630c8e4a9825b67efbccd9797dcc2f0140d2d7cc712d1de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143284f640a7c370630c8e4a9825b67efbccd9797dcc2f0140d2d7cc712d1de2", kill_on_drop: false }` [INFO] [stdout] 143284f640a7c370630c8e4a9825b67efbccd9797dcc2f0140d2d7cc712d1de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f762a92d611c253fad1b5b461c9eee876eabadfcd6ed36f39536842afab601b6 [INFO] running `Command { std: "docker" "start" "-a" "f762a92d611c253fad1b5b461c9eee876eabadfcd6ed36f39536842afab601b6", kill_on_drop: false }` [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling syn v0.15.8 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling 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 the macro `expect_tokens` (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 the macro `expect_tokens` (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[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[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] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(tool_lints)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `tool_lints` has been stable since 1.31.0 and no longer requires an attribute to enable [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 728 - (parse_binding(tokens)) [INFO] [stdout] 728 + parse_binding(tokens) [INFO] [stdout] | [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 the macro `expect_tokens` (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 `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 `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 `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 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 `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: aborting due to 38 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432, E0433, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lang` due to 39 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f762a92d611c253fad1b5b461c9eee876eabadfcd6ed36f39536842afab601b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f762a92d611c253fad1b5b461c9eee876eabadfcd6ed36f39536842afab601b6", kill_on_drop: false }` [INFO] [stdout] f762a92d611c253fad1b5b461c9eee876eabadfcd6ed36f39536842afab601b6