[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblakeanedved%2Frust-peg-llvm" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blakeanedved/rust-peg-llvm on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg-runtime v0.6.3 [INFO] [stderr] Downloaded peg-macros v0.6.3 [INFO] [stderr] Downloaded peg v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7376bda43f9c2731f9745e85a4e22ee52ebdf9e608d64c9b8ab8a9efc34d04ff [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" "7376bda43f9c2731f9745e85a4e22ee52ebdf9e608d64c9b8ab8a9efc34d04ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7376bda43f9c2731f9745e85a4e22ee52ebdf9e608d64c9b8ab8a9efc34d04ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7376bda43f9c2731f9745e85a4e22ee52ebdf9e608d64c9b8ab8a9efc34d04ff", kill_on_drop: false }` [INFO] [stdout] 7376bda43f9c2731f9745e85a4e22ee52ebdf9e608d64c9b8ab8a9efc34d04ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aa0f8fa99512cfbe80532e6b1e77fece6875b94a8e2ebc798f0dc495627b114 [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" "2aa0f8fa99512cfbe80532e6b1e77fece6875b94a8e2ebc798f0dc495627b114", kill_on_drop: false }` [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[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[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: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/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/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: 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: 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" "2aa0f8fa99512cfbe80532e6b1e77fece6875b94a8e2ebc798f0dc495627b114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa0f8fa99512cfbe80532e6b1e77fece6875b94a8e2ebc798f0dc495627b114", kill_on_drop: false }` [INFO] [stdout] 2aa0f8fa99512cfbe80532e6b1e77fece6875b94a8e2ebc798f0dc495627b114