[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzsytssk%2FlangTest" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zsytssk/langTest 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/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-12/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] cc214db31df53d2f93cd8f69207680784759b2878c8a183a69602c4b323222ac [INFO] running `Command { std: "docker" "start" "-a" "cc214db31df53d2f93cd8f69207680784759b2878c8a183a69602c4b323222ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc214db31df53d2f93cd8f69207680784759b2878c8a183a69602c4b323222ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc214db31df53d2f93cd8f69207680784759b2878c8a183a69602c4b323222ac", kill_on_drop: false }` [INFO] [stdout] cc214db31df53d2f93cd8f69207680784759b2878c8a183a69602c4b323222ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 2e3b79b3137baf23ad67db75b8361a8f6bb433cc6fe2fb55889a014c4df5d8d5 [INFO] running `Command { std: "docker" "start" "-a" "2e3b79b3137baf23ad67db75b8361a8f6bb433cc6fe2fb55889a014c4df5d8d5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling 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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: casts cannot be followed by ? [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] | help: maybe write a path separator here: `::` [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found keyword `in` [INFO] [stdout] --> src/main.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | for (pair in pairs) { [INFO] [stdout] | ^^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected closing `)` [INFO] [stdout] --> src/main.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | for (pair in pairs) { [INFO] [stdout] | --------------^ [INFO] [stdout] | | [INFO] [stdout] | opening `(` [INFO] [stdout] | help: remove parenthesis in `for` loop: `pair in pairs` [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] [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::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 | use pest::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [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[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[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 here [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[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 here [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: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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` due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: casts cannot be followed by ? [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] | help: maybe write a path separator here: `::` [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `@`, or `|`, found keyword `in` [INFO] [stdout] --> src/main.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | for (pair in pairs) { [INFO] [stdout] | ^^ expected one of `)`, `,`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected closing `)` [INFO] [stdout] --> src/main.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | for (pair in pairs) { [INFO] [stdout] | --------------^ [INFO] [stdout] | | [INFO] [stdout] | opening `(` [INFO] [stdout] | help: remove parenthesis in `for` loop: `pair in pairs` [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] [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::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 5 | use pest::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [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[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[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 here [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[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 here [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: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0599, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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" "2e3b79b3137baf23ad67db75b8361a8f6bb433cc6fe2fb55889a014c4df5d8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e3b79b3137baf23ad67db75b8361a8f6bb433cc6fe2fb55889a014c4df5d8d5", kill_on_drop: false }` [INFO] [stdout] 2e3b79b3137baf23ad67db75b8361a8f6bb433cc6fe2fb55889a014c4df5d8d5