[INFO] cloning repository https://github.com/plus7wist/c-bnf
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plus7wist/c-bnf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplus7wist%2Fc-bnf"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplus7wist%2Fc-bnf'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 29aa154109cd44898c39269a03290649266c39ba
[INFO] testing plus7wist/c-bnf against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplus7wist%2Fc-bnf" "/workspace/builds/worker-6-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/plus7wist/c-bnf
[INFO] finished tweaking git repo https://github.com/plus7wist/c-bnf
[INFO] tweaked toml for git repo https://github.com/plus7wist/c-bnf written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/plus7wist/c-bnf on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/plus7wist/c-bnf already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c
[INFO] running `"docker" "start" "cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c"`
[INFO] running `"docker" "inspect" "cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling c-bnf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `rhs`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     |code| {
[INFO] [stdout]    |     ^^^^^^ may outlive borrowed value `rhs`
[INFO] [stdout] ...
[INFO] [stdout] 46 |         rhs.parse(code).map(|(rhs, code)| (rhs.into(), code))
[INFO] [stdout]    |         --- `rhs` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     |code| {
[INFO] [stdout] 43 | |         if let Ok((lhs, code)) = lhs.parse(code) {
[INFO] [stdout] 44 | |             return Ok((lhs.into(), code));
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] help: to force the closure to take ownership of `rhs` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 42 |     move |code| {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `lhs`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     |code| {
[INFO] [stdout]    |     ^^^^^^ may outlive borrowed value `lhs`
[INFO] [stdout] 43 |         if let Ok((lhs, code)) = lhs.parse(code) {
[INFO] [stdout]    |                                  --- `lhs` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     |code| {
[INFO] [stdout] 43 | |         if let Ok((lhs, code)) = lhs.parse(code) {
[INFO] [stdout] 44 | |             return Ok((lhs.into(), code));
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] help: to force the closure to take ownership of `lhs` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 42 |     move |code| {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `PzL` may not live long enough
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     |code| {
[INFO] [stdout] 43 | |         if let Ok((lhs, code)) = lhs.parse(code) {
[INFO] [stdout] 44 | |             return Ok((lhs.into(), code));
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |     ^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |_____the parameter type `PzL` must be valid for the static lifetime...
[INFO] [stdout]    |       ...so that the type `PzL` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]    |
[INFO] [stdout] 37 |     PzL: Pz + 'static,
[INFO] [stdout]    |             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `PzR` may not live long enough
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     |code| {
[INFO] [stdout] 43 | |         if let Ok((lhs, code)) = lhs.parse(code) {
[INFO] [stdout] 44 | |             return Ok((lhs.into(), code));
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |     ^
[INFO] [stdout]    | |     |
[INFO] [stdout]    | |_____the parameter type `PzR` must be valid for the static lifetime...
[INFO] [stdout]    |       ...so that the type `PzR` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound
[INFO] [stdout]    |
[INFO] [stdout] 38 |     PzR: Pz + 'static,
[INFO] [stdout]    |             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of `FnOnce` is not general enough
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     |code| {
[INFO] [stdout] 43 | |         if let Ok((lhs, code)) = lhs.parse(code) {
[INFO] [stdout] 44 | |             return Ok((lhs.into(), code));
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |_____^ implementation of `FnOnce` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: closure with signature `fn(&'2 [u8]) -> Result<(Enum, &[u8]), (Pe, &[u8])>` must implement `FnOnce<(&'1 [u8],)>`, for any lifetime `'1`...
[INFO] [stdout]    = note: ...but it actually implements `FnOnce<(&'2 [u8],)>`, for some specific lifetime `'2`
[INFO] [stdout] help: consider adding an explicit type annotation to the closure's argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     |code: &[u8]| {
[INFO] [stdout]    |          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of `Fn` is not general enough
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | /     |code| {
[INFO] [stdout] 43 | |         if let Ok((lhs, code)) = lhs.parse(code) {
[INFO] [stdout] 44 | |             return Ok((lhs.into(), code));
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |_____^ implementation of `Fn` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: closure with signature `fn(&'2 [u8]) -> Result<(Enum, &[u8]), (Pe, &[u8])>` must implement `Fn<(&'1 [u8],)>`, for any lifetime `'1`...
[INFO] [stdout]    = note: ...but it actually implements `Fn<(&'2 [u8],)>`, for some specific lifetime `'2`
[INFO] [stdout] help: consider adding an explicit type annotation to the closure's argument
[INFO] [stdout]    |
[INFO] [stdout] 42 |     |code: &[u8]| {
[INFO] [stdout]    |          +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/main.rs:59:27
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn pc_function_definition(code: &[u8]) -> Pr<FunctionDefinition> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `code`
[INFO] [stdout]   --> src/main.rs:67:19
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn pc_declaration(code: &[u8]) -> Pr<Declaration> {
[INFO] [stdout]    |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0310, E0373.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0310`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `c-bnf` (bin "c-bnf") due to 6 previous errors; 2 warnings emitted
[INFO] running `"docker" "inspect" "cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c"`
[INFO] running `"docker" "rm" "-f" "cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c"`
[INFO] [stdout] cdc46c65559fb007ac6e852290105da82ccd533eb04cdcf60509f569d78f386c
