[INFO] cloning repository https://github.com/plus7wist/c-bnf [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplus7wist%2Fc-bnf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29aa154109cd44898c39269a03290649266c39ba [INFO] building plus7wist/c-bnf against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplus7wist%2Fc-bnf" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/plus7wist/c-bnf on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/plus7wist/c-bnf 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 447bc3e4a8e2517d6f3ef8111dba0d41430fc8f80665deb4968c2c8701557c4b [INFO] running `Command { std: "docker" "start" "-a" "447bc3e4a8e2517d6f3ef8111dba0d41430fc8f80665deb4968c2c8701557c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "447bc3e4a8e2517d6f3ef8111dba0d41430fc8f80665deb4968c2c8701557c4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447bc3e4a8e2517d6f3ef8111dba0d41430fc8f80665deb4968c2c8701557c4b", kill_on_drop: false }` [INFO] [stdout] 447bc3e4a8e2517d6f3ef8111dba0d41430fc8f80665deb4968c2c8701557c4b [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=forbid" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 815a81403dd7b26b09a62260224615e038b80efb6d3d6c9713394c59bc548864 [INFO] running `Command { std: "docker" "start" "-a" "815a81403dd7b26b09a62260224615e038b80efb6d3d6c9713394c59bc548864", kill_on_drop: false }` [INFO] [stderr] Compiling c-bnf v0.1.0 (/opt/rustwide/workdir) [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] [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] [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 { [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 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `c-bnf` (bin "c-bnf") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "815a81403dd7b26b09a62260224615e038b80efb6d3d6c9713394c59bc548864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815a81403dd7b26b09a62260224615e038b80efb6d3d6c9713394c59bc548864", kill_on_drop: false }` [INFO] [stdout] 815a81403dd7b26b09a62260224615e038b80efb6d3d6c9713394c59bc548864