[INFO] cloning repository https://github.com/shadrach-tayo/calc-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shadrach-tayo/calc-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadrach-tayo%2Fcalc-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadrach-tayo%2Fcalc-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25fee49e08b676090d809b608e163506404d179a [INFO] checking shadrach-tayo/calc-parser against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadrach-tayo%2Fcalc-parser" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shadrach-tayo/calc-parser [INFO] finished tweaking git repo https://github.com/shadrach-tayo/calc-parser [INFO] tweaked toml for git repo https://github.com/shadrach-tayo/calc-parser written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shadrach-tayo/calc-parser on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shadrach-tayo/calc-parser 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "fetch" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28d46f3a4e0afbc2295323065120daf6ea392c1ffc9411ea80578a78d8418926 [INFO] running `Command { std: "docker" "start" "-a" "28d46f3a4e0afbc2295323065120daf6ea392c1ffc9411ea80578a78d8418926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28d46f3a4e0afbc2295323065120daf6ea392c1ffc9411ea80578a78d8418926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d46f3a4e0afbc2295323065120daf6ea392c1ffc9411ea80578a78d8418926", kill_on_drop: false }` [INFO] [stdout] 28d46f3a4e0afbc2295323065120daf6ea392c1ffc9411ea80578a78d8418926 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4e62614ddb437576d10569c7423a35a000ae98f657fcd9029d83741a3487009 [INFO] running `Command { std: "docker" "start" "-a" "b4e62614ddb437576d10569c7423a35a000ae98f657fcd9029d83741a3487009", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_program(input: &str) -> IResult<&str, ParsedProgram> { [INFO] [stdout] | ^^^^ ---- ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_program(input: &str) -> IResult<&str, ParsedProgram<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse_declaration(input: &str) -> IResult<&str, ParsedStatement> { [INFO] [stdout] | ^^^^ ---- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse_declaration(input: &str) -> IResult<&str, ParsedStatement<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_input_statement(input: &str) -> IResult<&str, ParsedStatement> { [INFO] [stdout] | ^^^^ ---- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_input_statement(input: &str) -> IResult<&str, ParsedStatement<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse_output_statement(input: &str) -> IResult<&str, ParsedStatement> { [INFO] [stdout] | ^^^^ ---- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse_output_statement(input: &str) -> IResult<&str, ParsedStatement<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_assignment(input: &str) -> IResult<&str, ParsedStatement> { [INFO] [stdout] | ^^^^ ---- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_assignment(input: &str) -> IResult<&str, ParsedStatement<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_expr(input: &str) -> IResult<&str, ParsedExpr> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_expr(input: &str) -> IResult<&str, ParsedExpr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn parse_term(input: &str) -> IResult<&str, ParsedTerm> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn parse_term(input: &str) -> IResult<&str, ParsedTerm<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse_factor(input: &str) -> IResult<&str, ParsedFactor> { [INFO] [stdout] | ^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse_factor(input: &str) -> IResult<&str, ParsedFactor<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_subexpr(input: &str) -> IResult<&str, ParsedExpr> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_subexpr(input: &str) -> IResult<&str, ParsedExpr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_program(input: &str) -> IResult<&str, ParsedProgram> { [INFO] [stdout] | ^^^^ ---- ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn parse_program(input: &str) -> IResult<&str, ParsedProgram<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse_declaration(input: &str) -> IResult<&str, ParsedStatement> { [INFO] [stdout] | ^^^^ ---- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn parse_declaration(input: &str) -> IResult<&str, ParsedStatement<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_input_statement(input: &str) -> IResult<&str, ParsedStatement> { [INFO] [stdout] | ^^^^ ---- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn parse_input_statement(input: &str) -> IResult<&str, ParsedStatement<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:62:38 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse_output_statement(input: &str) -> IResult<&str, ParsedStatement> { [INFO] [stdout] | ^^^^ ---- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn parse_output_statement(input: &str) -> IResult<&str, ParsedStatement<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_assignment(input: &str) -> IResult<&str, ParsedStatement> { [INFO] [stdout] | ^^^^ ---- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_assignment(input: &str) -> IResult<&str, ParsedStatement<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_expr(input: &str) -> IResult<&str, ParsedExpr> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_expr(input: &str) -> IResult<&str, ParsedExpr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn parse_term(input: &str) -> IResult<&str, ParsedTerm> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn parse_term(input: &str) -> IResult<&str, ParsedTerm<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:109:28 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse_factor(input: &str) -> IResult<&str, ParsedFactor> { [INFO] [stdout] | ^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse_factor(input: &str) -> IResult<&str, ParsedFactor<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parser.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_subexpr(input: &str) -> IResult<&str, ParsedExpr> { [INFO] [stdout] | ^^^^ ---- ---------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_subexpr(input: &str) -> IResult<&str, ParsedExpr<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "b4e62614ddb437576d10569c7423a35a000ae98f657fcd9029d83741a3487009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e62614ddb437576d10569c7423a35a000ae98f657fcd9029d83741a3487009", kill_on_drop: false }` [INFO] [stdout] b4e62614ddb437576d10569c7423a35a000ae98f657fcd9029d83741a3487009