[INFO] cloning repository https://github.com/zsytssk/langTest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zsytssk/langTest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzsytssk%2FlangTest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzsytssk%2FlangTest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e3288cf80170afe4fccd593257d31aabeb35aca [INFO] checking zsytssk/langTest against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzsytssk%2FlangTest" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zsytssk/langTest on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zsytssk/langTest [INFO] finished tweaking git repo https://github.com/zsytssk/langTest [INFO] tweaked toml for git repo https://github.com/zsytssk/langTest written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zsytssk/langTest already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86db202d0bd1bed5b451d940ee188132f1f0c9a484dc572aa077a798572cea6c [INFO] running `Command { std: "docker" "start" "-a" "86db202d0bd1bed5b451d940ee188132f1f0c9a484dc572aa077a798572cea6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86db202d0bd1bed5b451d940ee188132f1f0c9a484dc572aa077a798572cea6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86db202d0bd1bed5b451d940ee188132f1f0c9a484dc572aa077a798572cea6c", kill_on_drop: false }` [INFO] [stdout] 86db202d0bd1bed5b451d940ee188132f1f0c9a484dc572aa077a798572cea6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b662a64856b4599b28db2135623184d60868dfad5b673fc52c0ee120968b1595 [INFO] running `Command { std: "docker" "start" "-a" "b662a64856b4599b28db2135623184d60868dfad5b673fc52c0ee120968b1595", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking adder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/main.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let pairs = JParser:parse(Rule::Program, source)?; [INFO] [stdout] | ^ help: use a double colon instead: `::` [INFO] [stdout] | [INFO] [stdout] = note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/main.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | let pairs = JParser:parse(Rule::Program, source)?; [INFO] [stdout] | ^ help: use a double colon instead: `::` [INFO] [stdout] | [INFO] [stdout] = note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected parentheses surrounding `for` loop head [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | for (pair in pairs) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove parentheses in `for` loop [INFO] [stdout] | [INFO] [stdout] 32 - for (pair in pairs) { [INFO] [stdout] 32 + for pair in pairs { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected parentheses surrounding `for` loop head [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | for (pair in pairs) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove parentheses in `for` loop [INFO] [stdout] | [INFO] [stdout] 32 - for (pair in pairs) { [INFO] [stdout] 32 + for pair in pairs { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AstNode` in this scope [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(source: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(source: &str) -> Result, Error> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/main.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(source: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use pest::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pair` in this scope [INFO] [stdout] --> src/main.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | match pair.as_rule() { [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pair` in this scope [INFO] [stdout] --> src/main.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | ast.push(Print(Box::new(build_ast_from_expr(pair)))); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AstNode` in this scope [INFO] [stdout] --> src/main.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn build_ast_from_expr(pair: pest::iterators::Pair) -> AstNode { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AstNode` in this scope [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(source: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(source: &str) -> Result, Error> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/main.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn parse(source: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use pest::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pair` in this scope [INFO] [stdout] --> src/main.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | match pair.as_rule() { [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pair` in this scope [INFO] [stdout] --> src/main.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | ast.push(Print(Box::new(build_ast_from_expr(pair)))); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AstNode` in this scope [INFO] [stdout] --> src/main.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | fn build_ast_from_expr(pair: pest::iterators::Pair) -> AstNode { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `statement` found for enum `Rule` in the current scope [INFO] [stdout] --> src/main.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Parser)] [INFO] [stdout] | ------ variant or associated item `statement` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 14 | let parse_result = CSVParser::parse(Rule::statement, &unparsed_file); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JParser` [INFO] [stdout] --> src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let pairs = JParser:parse(Rule::Program, source)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `JParser` [INFO] [stdout] | help: a trait with a similar name exists: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Program` found for enum `Rule` in the current scope [INFO] [stdout] --> src/main.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Parser)] [INFO] [stdout] | ------ variant or associated item `Program` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 31 | let pairs = JParser:parse(Rule::Program, source)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Rule` [INFO] [stdout] | help: there is a variant with a similar name: `program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Print` in this scope [INFO] [stdout] --> src/main.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | ast.push(Print(Box::new(build_ast_from_expr(pair)))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `monadicExpr` found for enum `Rule` in the current scope [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Parser)] [INFO] [stdout] | ------ variant or associated item `monadicExpr` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 49 | Rule::monadicExpr => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Rule` [INFO] [stdout] | help: there is a variant with a similar name: `manadicExpr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `next` on type `Pairs<'_, Rule>` [INFO] [stdout] --> src/main.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let expr = pair.next.unwrap(); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 52 | let expr = pair.next().unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_monadic_verb` in this scope [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | parse_monadic_verb(verb, expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `statement` found for enum `Rule` in the current scope [INFO] [stdout] --> src/main.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Parser)] [INFO] [stdout] | ------ variant or associated item `statement` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 14 | let parse_result = CSVParser::parse(Rule::statement, &unparsed_file); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JParser` [INFO] [stdout] --> src/main.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let pairs = JParser:parse(Rule::Program, source)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `JParser` [INFO] [stdout] | help: a trait with a similar name exists: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Program` found for enum `Rule` in the current scope [INFO] [stdout] --> src/main.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Parser)] [INFO] [stdout] | ------ variant or associated item `Program` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 31 | let pairs = JParser:parse(Rule::Program, source)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Rule` [INFO] [stdout] | help: there is a variant with a similar name: `program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Print` in this scope [INFO] [stdout] --> src/main.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | ast.push(Print(Box::new(build_ast_from_expr(pair)))); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `monadicExpr` found for enum `Rule` in the current scope [INFO] [stdout] --> src/main.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Parser)] [INFO] [stdout] | ------ variant or associated item `monadicExpr` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 49 | Rule::monadicExpr => { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Rule` [INFO] [stdout] | help: there is a variant with a similar name: `manadicExpr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `next` on type `Pairs<'_, Rule>` [INFO] [stdout] --> src/main.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let expr = pair.next.unwrap(); [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 52 | let expr = pair.next().unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_monadic_verb` in this scope [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | parse_monadic_verb(verb, expr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adder` (bin "adder") due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adder` (bin "adder" test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "b662a64856b4599b28db2135623184d60868dfad5b673fc52c0ee120968b1595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b662a64856b4599b28db2135623184d60868dfad5b673fc52c0ee120968b1595", kill_on_drop: false }` [INFO] [stdout] b662a64856b4599b28db2135623184d60868dfad5b673fc52c0ee120968b1595