[INFO] cloning repository https://github.com/blakeanedved/rust-peg-llvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blakeanedved/rust-peg-llvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakeanedved%2Frust-peg-llvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakeanedved%2Frust-peg-llvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 836e8f1944af5509a127d78e24e5d995dcb0cc0e [INFO] checking blakeanedved/rust-peg-llvm against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakeanedved%2Frust-peg-llvm" "/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/blakeanedved/rust-peg-llvm on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blakeanedved/rust-peg-llvm [INFO] finished tweaking git repo https://github.com/blakeanedved/rust-peg-llvm [INFO] tweaked toml for git repo https://github.com/blakeanedved/rust-peg-llvm written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/blakeanedved/rust-peg-llvm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8742e7ac282d51d6e6afb48c8a68cf24e28c64f5ea05fb0714842ed9eda3ca5a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8742e7ac282d51d6e6afb48c8a68cf24e28c64f5ea05fb0714842ed9eda3ca5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8742e7ac282d51d6e6afb48c8a68cf24e28c64f5ea05fb0714842ed9eda3ca5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8742e7ac282d51d6e6afb48c8a68cf24e28c64f5ea05fb0714842ed9eda3ca5a", kill_on_drop: false }` [INFO] [stdout] 8742e7ac282d51d6e6afb48c8a68cf24e28c64f5ea05fb0714842ed9eda3ca5a [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d978a2b9e1967e8e9b0d5d27b0f06228a42548dca32e6d1f4cf4982c5ae0ca8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d978a2b9e1967e8e9b0d5d27b0f06228a42548dca32e6d1f4cf4982c5ae0ca8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Checking rust-peg-ast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `ret_type_str` in this scope [INFO] [stdout] --> src/compiler.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | f += format!("define {} @{}(", ret_type_str, name); [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `ret_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/compiler.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | f += format!("define {} @{}(", ret_type_str, name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_block` in this scope [INFO] [stdout] --> src/compiler.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | f += build_block(tree); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/compiler.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | f += build_block(tree); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Types` [INFO] [stdout] --> src/compiler.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{ASTNode, ASTType, Operator, Types}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ret_type_str` in this scope [INFO] [stdout] --> src/compiler.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | f += format!("define {} @{}(", ret_type_str, name); [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `ret_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/compiler.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | f += format!("define {} @{}(", ret_type_str, name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build_block` in this scope [INFO] [stdout] --> src/compiler.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | f += build_block(tree); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/compiler.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | f += build_block(tree); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Types` [INFO] [stdout] --> src/compiler.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::{ASTNode, ASTType, Operator, Types}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | name: "main", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"main".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | body: language::program("1+1+1").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `types::ASTNode` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `types::ASTNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compiler.rs:11:54 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn build_i32_literal(&self, val: ASTNode) -> String {} [INFO] [stdout] | ----------------- ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ret_type` on type `types::ASTType` [INFO] [stdout] --> src/compiler.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | let ret_type = get_ret_type(fun.kind.ret_type); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | name: "main", [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"main".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compiler.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | f += format!("define {} @{}(", ret_type_str, name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | body: language::program("1+1+1").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found struct `types::ASTNode` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `types::ASTNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compiler.rs:11:54 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn build_i32_literal(&self, val: ASTNode) -> String {} [INFO] [stdout] | ----------------- ^^^^^^ expected struct `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ret_type` on type `types::ASTType` [INFO] [stdout] --> src/compiler.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | let ret_type = get_ret_type(fun.kind.ret_type); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-peg-ast` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/compiler.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | f += format!("define {} @{}(", ret_type_str, name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1d978a2b9e1967e8e9b0d5d27b0f06228a42548dca32e6d1f4cf4982c5ae0ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d978a2b9e1967e8e9b0d5d27b0f06228a42548dca32e6d1f4cf4982c5ae0ca8", kill_on_drop: false }` [INFO] [stdout] 1d978a2b9e1967e8e9b0d5d27b0f06228a42548dca32e6d1f4cf4982c5ae0ca8