[INFO] cloning repository https://github.com/sn0wball-lang/sn0wball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sn0wball-lang/sn0wball" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsn0wball-lang%2Fsn0wball", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsn0wball-lang%2Fsn0wball'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1327f8a5509392293f7cb1c132613677753de19 [INFO] checking sn0wball-lang/sn0wball against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsn0wball-lang%2Fsn0wball" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sn0wball-lang/sn0wball on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sn0wball-lang/sn0wball [INFO] finished tweaking git repo https://github.com/sn0wball-lang/sn0wball [INFO] tweaked toml for git repo https://github.com/sn0wball-lang/sn0wball written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate git repo https://github.com/sn0wball-lang/sn0wball already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17d5afb0f8c3246af2d0ff64d38d057daa5be0519dd3f17f281801cdb259f4a7 [INFO] running `Command { std: "docker" "start" "-a" "17d5afb0f8c3246af2d0ff64d38d057daa5be0519dd3f17f281801cdb259f4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17d5afb0f8c3246af2d0ff64d38d057daa5be0519dd3f17f281801cdb259f4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d5afb0f8c3246af2d0ff64d38d057daa5be0519dd3f17f281801cdb259f4a7", kill_on_drop: false }` [INFO] [stdout] 17d5afb0f8c3246af2d0ff64d38d057daa5be0519dd3f17f281801cdb259f4a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f5b7ee09e7a177730d3d0e2200ef2662e0eb3c4e911b3c34173f8badb3407cf [INFO] running `Command { std: "docker" "start" "-a" "4f5b7ee09e7a177730d3d0e2200ef2662e0eb3c4e911b3c34173f8badb3407cf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] byteorder v1.3.2 (as host dependency): default, std [INFO] [stderr] syn v1.0.11 (as host dependency): extra-traits, visit [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking pest v2.1.2 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rustyline v5.0.4 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking sn0wball v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/parser/ast/mod.rs (3 fixes) [INFO] [stderr] Fixed src/parser/ast/ast.rs (26 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyntaxParser` [INFO] [stdout] --> src/parser/ast/mod.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | SyntaxParser::parse(rule, &input) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 405 | use crate::parser::SyntaxParser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/parser/ast/mod.rs (1 fix) [INFO] [stderr] Fixed src/parser/mod.rs (1 fix) [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 65 | SyntaxParser::parse(Rule::program, &input) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 75 | SyntaxParser::parse(Rule::program, &input) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 98 | let _p = SyntaxParser::parse(Rule::program, &input) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:125:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 125 | let rule = match SyntaxParser::parse(Rule::variable_type, &test) { [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 152 | let pair = SyntaxParser::parse(Rule::variable_assignment, &test) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 169 | let value = SyntaxParser::parse(*value_rule, &value_literal) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:191:38 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 191 | let pair = SyntaxParser::parse(Rule::term, &test) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 215 | let pair = SyntaxParser::parse(Rule::term, &input) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:282:38 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 282 | let pair = SyntaxParser::parse(Rule::expression, &test) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:306:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 306 | let pair = SyntaxParser::parse(Rule::func_def, &input) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `parser::SyntaxParser` in the current scope [INFO] [stdout] --> src/parser/mod.rs:338:34 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxParser; [INFO] [stdout] | ------------------------ function or associated item `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 338 | let pair = SyntaxParser::parse(Rule::if_statement, &input) [INFO] [stdout] | ^^^^^ function or associated item not found in `parser::SyntaxParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::pest::Parser;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/parser/ast/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sn0wball` due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/parser/ast/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/ast/ast.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | _ => unimplemented!("{} Display", self.expression_type()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Program` [INFO] [stdout] --> src/parser/ast/ast.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Program = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/parser/ast/ast.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/parser/ast/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> src/parser/ast/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/parser/ast/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/parser/ast/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Char` [INFO] [stdout] --> src/parser/ast/ast.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/parser/ast/ast.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Function(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Void` [INFO] [stdout] --> src/parser/ast/ast.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IF` [INFO] [stdout] --> src/parser/ast/ast.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / IF { [INFO] [stdout] 42 | | condition: Expression, [INFO] [stdout] 43 | | then_block: BlockStatement, [INFO] [stdout] 44 | | else_block: BlockStatement, [INFO] [stdout] 45 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ASSIGNMENT` [INFO] [stdout] --> src/parser/ast/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / ASSIGNMENT { [INFO] [stdout] 47 | | variable_type: VariableType, [INFO] [stdout] 48 | | identifier: Identifier, [INFO] [stdout] 49 | | expression: Expression, [INFO] [stdout] 50 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RETURN` [INFO] [stdout] --> src/parser/ast/ast.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | RETURN(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EXPRESSION` [INFO] [stdout] --> src/parser/ast/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | EXPRESSION(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FUNCTION` [INFO] [stdout] --> src/parser/ast/ast.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / FUNCTION { [INFO] [stdout] 54 | | identifier: Identifier, [INFO] [stdout] 55 | | parameters: Vec, [INFO] [stdout] 56 | | output: VariableType, [INFO] [stdout] 57 | | body: BlockStatement, [INFO] [stdout] 58 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NONE` [INFO] [stdout] --> src/parser/ast/ast.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `statement_type` [INFO] [stdout] --> src/parser/ast/ast.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn statement_type(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/parser/ast/ast.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/parser/ast/ast.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | Float(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> src/parser/ast/ast.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | Byte(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/parser/ast/ast.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Bool(bool), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Char` [INFO] [stdout] --> src/parser/ast/ast.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Char(char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/parser/ast/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/parser/ast/ast.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Prefix` [INFO] [stdout] --> src/parser/ast/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / Prefix { [INFO] [stdout] 102 | | operator: Operator, [INFO] [stdout] 103 | | right: Box, [INFO] [stdout] 104 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Infix` [INFO] [stdout] --> src/parser/ast/ast.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / Infix { [INFO] [stdout] 106 | | left: Box, [INFO] [stdout] 107 | | operator: Operator, [INFO] [stdout] 108 | | right: Box, [INFO] [stdout] 109 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FunctionCall` [INFO] [stdout] --> src/parser/ast/ast.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / FunctionCall { [INFO] [stdout] 113 | | identifier: Identifier, [INFO] [stdout] 114 | | arguments: Vec, [INFO] [stdout] 115 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closure` [INFO] [stdout] --> src/parser/ast/ast.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / Closure { [INFO] [stdout] 117 | | parameters: Vec, [INFO] [stdout] 118 | | output: VariableType, [INFO] [stdout] 119 | | body: BlockStatement, [INFO] [stdout] 120 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Method` [INFO] [stdout] --> src/parser/ast/ast.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / Method { [INFO] [stdout] 122 | | left: Box, [INFO] [stdout] 123 | | call: Box, [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/parser/ast/ast.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NONE` [INFO] [stdout] --> src/parser/ast/ast.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | NONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MINUS` [INFO] [stdout] --> src/parser/ast/ast.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | MINUS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PLUS` [INFO] [stdout] --> src/parser/ast/ast.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | PLUS, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BANG` [INFO] [stdout] --> src/parser/ast/ast.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | BANG, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ASTERISK` [INFO] [stdout] --> src/parser/ast/ast.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | ASTERISK, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SLASH` [INFO] [stdout] --> src/parser/ast/ast.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | SLASH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AND` [INFO] [stdout] --> src/parser/ast/ast.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | AND, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OR` [INFO] [stdout] --> src/parser/ast/ast.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | OR, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EQ` [INFO] [stdout] --> src/parser/ast/ast.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NOT_EQ` [INFO] [stdout] --> src/parser/ast/ast.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | NOT_EQ, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GTE` [INFO] [stdout] --> src/parser/ast/ast.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | GTE, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GT` [INFO] [stdout] --> src/parser/ast/ast.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LTE` [INFO] [stdout] --> src/parser/ast/ast.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | LTE, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LT` [INFO] [stdout] --> src/parser/ast/ast.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/ast/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new() -> AstParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_ast` [INFO] [stdout] --> src/parser/ast/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_ast(&self, _program: Pair) -> ast::Program { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_is_rule` [INFO] [stdout] --> src/parser/ast/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn peek_is_rule(&self, peek: Option>, rule: Rule) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `precedence_climber` [INFO] [stdout] --> src/parser/ast/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn precedence_climber(&self) -> PrecClimber { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_variable_definition` [INFO] [stdout] --> src/parser/ast/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_variable_definition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_variable_type` [INFO] [stdout] --> src/parser/ast/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_variable_type(&self, var_type: Pair) -> VariableType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_func_type` [INFO] [stdout] --> src/parser/ast/mod.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_func_type(&self, var_type: Pair) -> VariableType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_identifier` [INFO] [stdout] --> src/parser/ast/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | fn parse_identifier(&self, identifier: Pair) -> ast::Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_int` [INFO] [stdout] --> src/parser/ast/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn parse_int(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_float` [INFO] [stdout] --> src/parser/ast/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn parse_float(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_byte` [INFO] [stdout] --> src/parser/ast/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn parse_byte(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_bool` [INFO] [stdout] --> src/parser/ast/mod.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse_bool(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_char` [INFO] [stdout] --> src/parser/ast/mod.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn parse_char(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_string` [INFO] [stdout] --> src/parser/ast/mod.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn parse_string(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression` [INFO] [stdout] --> src/parser/ast/mod.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_expression(&self, expression: Pair) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_encapsulated_expression` [INFO] [stdout] --> src/parser/ast/mod.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn parse_encapsulated_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_value` [INFO] [stdout] --> src/parser/ast/mod.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn parse_value(&self, pair: Pair) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_term_value` [INFO] [stdout] --> src/parser/ast/mod.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn parse_term_value(&self, mut term_inner: Pairs) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_method_call` [INFO] [stdout] --> src/parser/ast/mod.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_method_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_term` [INFO] [stdout] --> src/parser/ast/mod.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn parse_term(&self, term: Pair) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_prefix` [INFO] [stdout] --> src/parser/ast/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn parse_prefix(&self, mut term_inner: Pairs) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_operator` [INFO] [stdout] --> src/parser/ast/mod.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn parse_operator(&self, pair: Pair) -> Operator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_call` [INFO] [stdout] --> src/parser/ast/mod.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | fn parse_call(&self, call: Pair) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_arguments` [INFO] [stdout] --> src/parser/ast/mod.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn parse_arguments(&self, arguments: Pair) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_statement` [INFO] [stdout] --> src/parser/ast/mod.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | fn parse_statement(&self, statement: Pair) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_variable_assignment` [INFO] [stdout] --> src/parser/ast/mod.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 339 | fn parse_variable_assignment(&self, statement: Pair) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_return_statement` [INFO] [stdout] --> src/parser/ast/mod.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | fn parse_return_statement(&self, statement: Pair) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_if_statement` [INFO] [stdout] --> src/parser/ast/mod.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn parse_if_statement(&self, if_statement: Pair) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_body` [INFO] [stdout] --> src/parser/ast/mod.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | fn parse_body(&self, body: Pair) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4f5b7ee09e7a177730d3d0e2200ef2662e0eb3c4e911b3c34173f8badb3407cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f5b7ee09e7a177730d3d0e2200ef2662e0eb3c4e911b3c34173f8badb3407cf", kill_on_drop: false }` [INFO] [stdout] 4f5b7ee09e7a177730d3d0e2200ef2662e0eb3c4e911b3c34173f8badb3407cf