[INFO] fetching crate ptx-parser 0.1.6... [INFO] testing ptx-parser-0.1.6 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ptx-parser 0.1.6 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ptx-parser 0.1.6 [INFO] finished tweaking crates.io crate ptx-parser 0.1.6 [INFO] tweaked toml for crates.io crate ptx-parser 0.1.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ptx-parser 0.1.6 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cc4c91e90d3bd50171d74907ab29281af57e1b0d09b38fa3283cdccfac52b5e [INFO] running `Command { std: "docker" "start" "-a" "1cc4c91e90d3bd50171d74907ab29281af57e1b0d09b38fa3283cdccfac52b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cc4c91e90d3bd50171d74907ab29281af57e1b0d09b38fa3283cdccfac52b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc4c91e90d3bd50171d74907ab29281af57e1b0d09b38fa3283cdccfac52b5e", kill_on_drop: false }` [INFO] [stdout] 1cc4c91e90d3bd50171d74907ab29281af57e1b0d09b38fa3283cdccfac52b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 816716dca941364975d152b66f8442bd1d25443bc32c7d405d00fc7dfa593541 [INFO] running `Command { std: "docker" "start" "-a" "816716dca941364975d152b66f8442bd1d25443bc32c7d405d00fc7dfa593541", kill_on_drop: false }` [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ptx-parser v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ptx_file.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Function(Function<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionOrGlobal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Function(Function<'a>), [INFO] [stdout] 10 + Function(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ptx_file.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Global(Global<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionOrGlobal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Global(Global<'a>), [INFO] [stdout] 11 + Global(()), [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/body.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | fn parse_register(input: &str) -> IResult<&str, Register> { [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] 45 | fn parse_register(input: &str) -> IResult<&str, Register<'_>> { [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/body.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_operation(input: &str) -> IResult<&str, Operation> { [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] 69 | fn parse_operation(input: &str) -> IResult<&str, Operation<'_>> { [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/body.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | fn parse_goto(input: &str) -> IResult<&str, Goto> { [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] 89 | fn parse_goto(input: &str) -> IResult<&str, Goto<'_>> { [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/body.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn parse_function_call(input: &str) -> IResult<&str, FunctionCall> { [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] 119 | fn parse_function_call(input: &str) -> IResult<&str, FunctionCall<'_>> { [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/body.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_body_line(input: &str) -> IResult<&str, BodyLine> { [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] 148 | fn parse_body_line(input: &str) -> IResult<&str, BodyLine<'_>> { [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/comment.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn parse_line_comment(input: &str) -> IResult<&str, Comment> { [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] 27 | pub(crate) fn parse_line_comment(input: &str) -> IResult<&str, Comment<'_>> { [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/function.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn parse_function(input: &str) -> IResult<&str, Function> { [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] 35 | pub(crate) fn parse_function(input: &str) -> IResult<&str, Function<'_>> { [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/function.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_function_body(input: &str) -> IResult<&str, FunctionBody> { [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] 58 | fn parse_function_body(input: &str) -> IResult<&str, FunctionBody<'_>> { [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/function.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_function_signature(input: &str) -> IResult<&str, FunctionSignature> { [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] 64 | fn parse_function_signature(input: &str) -> IResult<&str, FunctionSignature<'_>> { [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/global.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn parse_global(input: &str) -> IResult<&str, Global> { [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] 10 | pub(crate) fn parse_global(input: &str) -> IResult<&str, Global<'_>> { [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/preamble.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parse_preamble(input: &str) -> IResult<&str, Preamble> { [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] 27 | pub(super) fn parse_preamble(input: &str) -> IResult<&str, Preamble<'_>> { [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/preamble.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_version(input: &str) -> IResult<&str, Version> { [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] 55 | fn parse_version(input: &str) -> IResult<&str, Version<'_>> { [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/preamble.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_target(input: &str) -> IResult<&str, Target> { [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] 64 | fn parse_target(input: &str) -> IResult<&str, Target<'_>> { [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/preamble.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse_address_size(input: &str) -> IResult<&str, AddressSize> { [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] 71 | fn parse_address_size(input: &str) -> IResult<&str, AddressSize<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "816716dca941364975d152b66f8442bd1d25443bc32c7d405d00fc7dfa593541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "816716dca941364975d152b66f8442bd1d25443bc32c7d405d00fc7dfa593541", kill_on_drop: false }` [INFO] [stdout] 816716dca941364975d152b66f8442bd1d25443bc32c7d405d00fc7dfa593541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7b94cbb7a5a1e1ace4e1fc01a031222a2170ff27429fd4ed2ca918ec544e05bc [INFO] running `Command { std: "docker" "start" "-a" "7b94cbb7a5a1e1ace4e1fc01a031222a2170ff27429fd4ed2ca918ec544e05bc", kill_on_drop: false }` [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ptx_file.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Function(Function<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionOrGlobal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Function(Function<'a>), [INFO] [stdout] 10 + Function(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ptx_file.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Global(Global<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionOrGlobal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Global(Global<'a>), [INFO] [stdout] 11 + Global(()), [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/body.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | fn parse_register(input: &str) -> IResult<&str, Register> { [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] 45 | fn parse_register(input: &str) -> IResult<&str, Register<'_>> { [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/body.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_operation(input: &str) -> IResult<&str, Operation> { [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] 69 | fn parse_operation(input: &str) -> IResult<&str, Operation<'_>> { [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/body.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | fn parse_goto(input: &str) -> IResult<&str, Goto> { [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] 89 | fn parse_goto(input: &str) -> IResult<&str, Goto<'_>> { [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/body.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn parse_function_call(input: &str) -> IResult<&str, FunctionCall> { [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] 119 | fn parse_function_call(input: &str) -> IResult<&str, FunctionCall<'_>> { [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/body.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_body_line(input: &str) -> IResult<&str, BodyLine> { [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] 148 | fn parse_body_line(input: &str) -> IResult<&str, BodyLine<'_>> { [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/comment.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn parse_line_comment(input: &str) -> IResult<&str, Comment> { [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] 27 | pub(crate) fn parse_line_comment(input: &str) -> IResult<&str, Comment<'_>> { [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/function.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn parse_function(input: &str) -> IResult<&str, Function> { [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] 35 | pub(crate) fn parse_function(input: &str) -> IResult<&str, Function<'_>> { [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/function.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_function_body(input: &str) -> IResult<&str, FunctionBody> { [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] 58 | fn parse_function_body(input: &str) -> IResult<&str, FunctionBody<'_>> { [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/function.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_function_signature(input: &str) -> IResult<&str, FunctionSignature> { [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] 64 | fn parse_function_signature(input: &str) -> IResult<&str, FunctionSignature<'_>> { [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/global.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn parse_global(input: &str) -> IResult<&str, Global> { [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] 10 | pub(crate) fn parse_global(input: &str) -> IResult<&str, Global<'_>> { [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/preamble.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parse_preamble(input: &str) -> IResult<&str, Preamble> { [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] 27 | pub(super) fn parse_preamble(input: &str) -> IResult<&str, Preamble<'_>> { [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/preamble.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_version(input: &str) -> IResult<&str, Version> { [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] 55 | fn parse_version(input: &str) -> IResult<&str, Version<'_>> { [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/preamble.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_target(input: &str) -> IResult<&str, Target> { [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] 64 | fn parse_target(input: &str) -> IResult<&str, Target<'_>> { [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/preamble.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse_address_size(input: &str) -> IResult<&str, AddressSize> { [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] 71 | fn parse_address_size(input: &str) -> IResult<&str, AddressSize<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ptx-parser v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ptx_file.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Global(Global<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FunctionOrGlobal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Global(Global<'a>), [INFO] [stdout] 11 + Global(()), [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/body.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | fn parse_register(input: &str) -> IResult<&str, Register> { [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] 45 | fn parse_register(input: &str) -> IResult<&str, Register<'_>> { [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/body.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_operation(input: &str) -> IResult<&str, Operation> { [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] 69 | fn parse_operation(input: &str) -> IResult<&str, Operation<'_>> { [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/body.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | fn parse_goto(input: &str) -> IResult<&str, Goto> { [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] 89 | fn parse_goto(input: &str) -> IResult<&str, Goto<'_>> { [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/body.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn parse_function_call(input: &str) -> IResult<&str, FunctionCall> { [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] 119 | fn parse_function_call(input: &str) -> IResult<&str, FunctionCall<'_>> { [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/body.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_body_line(input: &str) -> IResult<&str, BodyLine> { [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] 148 | fn parse_body_line(input: &str) -> IResult<&str, BodyLine<'_>> { [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/comment.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn parse_line_comment(input: &str) -> IResult<&str, Comment> { [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] 27 | pub(crate) fn parse_line_comment(input: &str) -> IResult<&str, Comment<'_>> { [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/function.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn parse_function(input: &str) -> IResult<&str, Function> { [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] 35 | pub(crate) fn parse_function(input: &str) -> IResult<&str, Function<'_>> { [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/function.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | fn parse_function_body(input: &str) -> IResult<&str, FunctionBody> { [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] 58 | fn parse_function_body(input: &str) -> IResult<&str, FunctionBody<'_>> { [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/function.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_function_signature(input: &str) -> IResult<&str, FunctionSignature> { [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] 64 | fn parse_function_signature(input: &str) -> IResult<&str, FunctionSignature<'_>> { [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/global.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn parse_global(input: &str) -> IResult<&str, Global> { [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] 10 | pub(crate) fn parse_global(input: &str) -> IResult<&str, Global<'_>> { [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/preamble.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parse_preamble(input: &str) -> IResult<&str, Preamble> { [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] 27 | pub(super) fn parse_preamble(input: &str) -> IResult<&str, Preamble<'_>> { [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/preamble.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | fn parse_version(input: &str) -> IResult<&str, Version> { [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] 55 | fn parse_version(input: &str) -> IResult<&str, Version<'_>> { [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/preamble.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn parse_target(input: &str) -> IResult<&str, Target> { [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] 64 | fn parse_target(input: &str) -> IResult<&str, Target<'_>> { [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/preamble.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse_address_size(input: &str) -> IResult<&str, AddressSize> { [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] 71 | fn parse_address_size(input: &str) -> IResult<&str, AddressSize<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "7b94cbb7a5a1e1ace4e1fc01a031222a2170ff27429fd4ed2ca918ec544e05bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b94cbb7a5a1e1ace4e1fc01a031222a2170ff27429fd4ed2ca918ec544e05bc", kill_on_drop: false }` [INFO] [stdout] 7b94cbb7a5a1e1ace4e1fc01a031222a2170ff27429fd4ed2ca918ec544e05bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 96d783720de5f31097c1cd2d9c47917e43719f605ea3b6949941d7683200f206 [INFO] running `Command { std: "docker" "start" "-a" "96d783720de5f31097c1cd2d9c47917e43719f605ea3b6949941d7683200f206", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/ptx_file.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | Function(Function<'a>), [INFO] [stderr] | -------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `FunctionOrGlobal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - Function(Function<'a>), [INFO] [stderr] 10 + Function(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/ptx_file.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | Global(Global<'a>), [INFO] [stderr] | ------ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `FunctionOrGlobal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 11 - Global(Global<'a>), [INFO] [stderr] 11 + Global(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/body.rs:45:26 [INFO] [stderr] | [INFO] [stderr] 45 | fn parse_register(input: &str) -> IResult<&str, Register> { [INFO] [stderr] | ^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 45 | fn parse_register(input: &str) -> IResult<&str, Register<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/body.rs:69:27 [INFO] [stderr] | [INFO] [stderr] 69 | fn parse_operation(input: &str) -> IResult<&str, Operation> { [INFO] [stderr] | ^^^^ ---- --------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 69 | fn parse_operation(input: &str) -> IResult<&str, Operation<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/body.rs:89:22 [INFO] [stderr] | [INFO] [stderr] 89 | fn parse_goto(input: &str) -> IResult<&str, Goto> { [INFO] [stderr] | ^^^^ ---- ---- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 89 | fn parse_goto(input: &str) -> IResult<&str, Goto<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/body.rs:119:31 [INFO] [stderr] | [INFO] [stderr] 119 | fn parse_function_call(input: &str) -> IResult<&str, FunctionCall> { [INFO] [stderr] | ^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 119 | fn parse_function_call(input: &str) -> IResult<&str, FunctionCall<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/body.rs:148:27 [INFO] [stderr] | [INFO] [stderr] 148 | fn parse_body_line(input: &str) -> IResult<&str, BodyLine> { [INFO] [stderr] | ^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 148 | fn parse_body_line(input: &str) -> IResult<&str, BodyLine<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/comment.rs:27:41 [INFO] [stderr] | [INFO] [stderr] 27 | pub(crate) fn parse_line_comment(input: &str) -> IResult<&str, Comment> { [INFO] [stderr] | ^^^^ ---- ------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 27 | pub(crate) fn parse_line_comment(input: &str) -> IResult<&str, Comment<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/function.rs:35:37 [INFO] [stderr] | [INFO] [stderr] 35 | pub(crate) fn parse_function(input: &str) -> IResult<&str, Function> { [INFO] [stderr] | ^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 35 | pub(crate) fn parse_function(input: &str) -> IResult<&str, Function<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/function.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | fn parse_function_body(input: &str) -> IResult<&str, FunctionBody> { [INFO] [stderr] | ^^^^ ---- ------------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 58 | fn parse_function_body(input: &str) -> IResult<&str, FunctionBody<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/function.rs:64:36 [INFO] [stderr] | [INFO] [stderr] 64 | fn parse_function_signature(input: &str) -> IResult<&str, FunctionSignature> { [INFO] [stderr] | ^^^^ ---- ----------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 64 | fn parse_function_signature(input: &str) -> IResult<&str, FunctionSignature<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/global.rs:10:35 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn parse_global(input: &str) -> IResult<&str, Global> { [INFO] [stderr] | ^^^^ ---- ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn parse_global(input: &str) -> IResult<&str, Global<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/preamble.rs:27:37 [INFO] [stderr] | [INFO] [stderr] 27 | pub(super) fn parse_preamble(input: &str) -> IResult<&str, Preamble> { [INFO] [stderr] | ^^^^ ---- -------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 27 | pub(super) fn parse_preamble(input: &str) -> IResult<&str, Preamble<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/preamble.rs:55:25 [INFO] [stderr] | [INFO] [stderr] 55 | fn parse_version(input: &str) -> IResult<&str, Version> { [INFO] [stderr] | ^^^^ ---- ------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 55 | fn parse_version(input: &str) -> IResult<&str, Version<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/preamble.rs:64:24 [INFO] [stderr] | [INFO] [stderr] 64 | fn parse_target(input: &str) -> IResult<&str, Target> { [INFO] [stderr] | ^^^^ ---- ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 64 | fn parse_target(input: &str) -> IResult<&str, Target<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/parser/preamble.rs:71:30 [INFO] [stderr] | [INFO] [stderr] 71 | fn parse_address_size(input: &str) -> IResult<&str, AddressSize> { [INFO] [stderr] | ^^^^ ---- ----------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 71 | fn parse_address_size(input: &str) -> IResult<&str, AddressSize<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ptx-parser` (lib) generated 16 warnings (run `cargo fix --lib -p ptx-parser` to apply 14 suggestions) [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/parser/ptx_file.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | Global(Global<'a>), [INFO] [stderr] | ------ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `FunctionOrGlobal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 11 - Global(Global<'a>), [INFO] [stderr] 11 + Global(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ptx-parser` (lib test) generated 15 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ptx_parser-c21c74e74fc7309e) [INFO] [stdout] [INFO] [stdout] running 59 tests [INFO] [stdout] test parser::body::test_iterator::parse_body_example ... ok [INFO] [stdout] test parser::body::test_iterator::parse_body_kernel ... ok [INFO] [stdout] test parser::comment::test_empty_comments_and_whitespace::test_empty_comments_and_whitespace_with_leading_whitespace ... ok [INFO] [stdout] test parser::body::test_iterator::parse_unknown_operations_a ... ok [INFO] [stdout] test parser::comment::test_empty_comments_and_whitespace::test_empty_comments_and_whitespace ... ok [INFO] [stdout] test parser::body::test_iterator::parse_unknowns_kernel ... ok [INFO] [stdout] test parser::comment::test_parse_line_comment::test_parse_line_comment_single_line_empty ... ok [INFO] [stdout] test parser::comment::test_empty_comments_and_whitespace::test_new_line ... ok [INFO] [stdout] test parser::body::test_iterator::parse_unknowns_a ... ok [INFO] [stdout] test parser::function::test_parse_function_body::non_empty ... ok [INFO] [stdout] test parser::function::test_parse_function_signature::func_no_return_no_parameters ... ok [INFO] [stdout] test parser::function::test_parse_function_signature::func_no_return_some_parameters ... ok [INFO] [stdout] test parser::body::test_iterator::parse_body_a ... ok [INFO] [stdout] test parser::function::test_parse_function_signature::func_no_return_trivial_parameters ... ok [INFO] [stdout] test parser::comment::test_parse_line_comment::test_parse_line_comment_single_line_with_trailing_whitespace ... ok [INFO] [stdout] test parser::comment::test_parse_line_comment::test_parse_line_comment_multi_line ... ok [INFO] [stdout] test parser::comment::test_parse_line_comment::test_parse_line_comment_single_line_with_leading_whitespace ... ok [INFO] [stdout] test parser::comment::test_empty_comments_and_whitespace::test_empty_string ... ok [INFO] [stdout] test parser::function::test_parse_function_body::empty ... ok [INFO] [stdout] test parser::comment::test_parse_line_comment::test_parse_line_comment_block_comment ... ok [INFO] [stdout] test parser::comment::test_parse_line_comment::test_parse_line_comment_single_line ... ok [INFO] [stdout] test parser::function::test_parse_function::no_return_no_parameters_with_body ... ok [INFO] [stdout] test parser::function::test_parse_function_signature::func_return_and_parameters ... ok [INFO] [stdout] test parser::function::test_parse_function_signature::visible_entry_name ... ok [INFO] [stdout] test parser::global::test_parse_global::trivial_exaample ... ok [INFO] [stdout] test parser::preamble::test_parse_address_size::immediate_comment ... ok [INFO] [stdout] test parser::preamble::test_parse_address_size::leading_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_preamble::leading_newline ... ok [INFO] [stdout] test parser::preamble::test_parse_preamble::leading_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_preamble::no_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_preamble::trailing_comment ... ok [INFO] [stdout] test parser::preamble::test_parse_address_size::no_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_address_size::trailing_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_preamble::trailing_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_preamble::immediate_comment ... ok [INFO] [stdout] test parser::function::test_parse_function::no_return_no_parameters_no_body ... ok [INFO] [stdout] test parser::preamble::test_parse_target::leading_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_target::no_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_target::trailing_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_version::immediate_comment ... ok [INFO] [stdout] test parser::preamble::test_parse_version::leading_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_version::no_whitespace ... ok [INFO] [stdout] test parser::preamble::test_parse_version::trailing_whitespace ... ok [INFO] [stdout] test parser::ptx_file::test_iterator::parse_example ... ok [INFO] [stdout] test parser::ptx_file::test_iterator::parse_kernel ... ok [INFO] [stdout] test parser::test_parse_braced::newline ... ok [INFO] [stdout] test parser::test_parse_braced::no_newline ... ok [INFO] [stdout] test parser::preamble::test_parse_target::immediate_comment ... ok [INFO] [stdout] test parser::test_parse_braced::mock_function_body ... ok [INFO] [stdout] test parser::test_parse_braced::two_left_one_right ... ok [INFO] [stdout] test parser::test_parse_braced_balanced::imbalanced ... ok [INFO] [stdout] test parser::test_parse_braced_balanced::nested_pair ... ok [INFO] [stdout] test parser::test_parse_braced_balanced::one_pair ... ok [INFO] [stdout] test parser::test_parse_braced_balanced::two_pairs ... ok [INFO] [stdout] test parser::test_parse_parenthesized::newline ... ok [INFO] [stdout] test parser::test_parse_parenthesized::no_newline ... ok [INFO] [stdout] test parser::test_parse_parenthesized::one_left_parenthesis ... ok [INFO] [stdout] test parser::test_parse_parenthesized::two_left_one_right ... ok [INFO] [stdout] test parser::test_parse_braced::one_left_brace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96d783720de5f31097c1cd2d9c47917e43719f605ea3b6949941d7683200f206", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d783720de5f31097c1cd2d9c47917e43719f605ea3b6949941d7683200f206", kill_on_drop: false }` [INFO] [stdout] 96d783720de5f31097c1cd2d9c47917e43719f605ea3b6949941d7683200f206