[INFO] fetching crate t4_idl_parser 0.1.1... [INFO] testing t4_idl_parser-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate t4_idl_parser 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate t4_idl_parser 0.1.1 [INFO] finished tweaking crates.io crate t4_idl_parser 0.1.1 [INFO] tweaked toml for crates.io crate t4_idl_parser 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate t4_idl_parser 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding nom-greedyerror v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding nom_locate v4.2.0 (available: v5.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom_locate v4.2.0 [INFO] [stderr] Downloaded nom_locate v2.1.0 [INFO] [stderr] Downloaded nom-greedyerror v0.4.0 [INFO] [stderr] Downloaded bytecount v0.3.2 [INFO] [stderr] Downloaded nom_locate v1.0.0 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf9e91d68a730794d3d28a4109da88f009ab7986bf8e897c8dbff31bda3c2f94 [INFO] running `Command { std: "docker" "start" "-a" "bf9e91d68a730794d3d28a4109da88f009ab7986bf8e897c8dbff31bda3c2f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf9e91d68a730794d3d28a4109da88f009ab7986bf8e897c8dbff31bda3c2f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf9e91d68a730794d3d28a4109da88f009ab7986bf8e897c8dbff31bda3c2f94", kill_on_drop: false }` [INFO] [stdout] bf9e91d68a730794d3d28a4109da88f009ab7986bf8e897c8dbff31bda3c2f94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6759200667165eca4e65fbed496978349978c5955539b2145e12d68ee4b4072 [INFO] running `Command { std: "docker" "start" "-a" "f6759200667165eca4e65fbed496978349978c5955539b2145e12d68ee4b4072", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nom_locate v4.2.0 [INFO] [stderr] Compiling nom_locate v2.1.0 [INFO] [stderr] Compiling nom_locate v1.0.0 [INFO] [stderr] Compiling nom-greedyerror v0.4.0 [INFO] [stderr] Compiling t4_idl_parser v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/parser/components.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | match head.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `as_str(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn do_parse(input: &str) -> PResult> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn do_parse(input: &str) -> PResult<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>, ())> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:47:63 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span)> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>)> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>, ())> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.93s [INFO] running `Command { std: "docker" "inspect" "f6759200667165eca4e65fbed496978349978c5955539b2145e12d68ee4b4072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6759200667165eca4e65fbed496978349978c5955539b2145e12d68ee4b4072", kill_on_drop: false }` [INFO] [stdout] f6759200667165eca4e65fbed496978349978c5955539b2145e12d68ee4b4072 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ba6ab42938d9125edbca75d6a99b17d281b320e68d279664435b9ddad94c18b [INFO] running `Command { std: "docker" "start" "-a" "7ba6ab42938d9125edbca75d6a99b17d281b320e68d279664435b9ddad94c18b", kill_on_drop: false }` [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/parser/components.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | match head.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `as_str(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn do_parse(input: &str) -> PResult> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn do_parse(input: &str) -> PResult<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>, ())> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling t4_idl_parser v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:47:63 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span)> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>)> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>, ())> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/parser/components.rs:408:16 [INFO] [stdout] | [INFO] [stdout] 408 | match head.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: call with fully qualified syntax `as_str(...)` to keep using the current method [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(str_as_str)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn do_parse(input: &str) -> PResult> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn do_parse(input: &str) -> PResult<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>, ())> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:47:63 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span)> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>)> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/core.rs:51:61 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>, ())> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.14s [INFO] running `Command { std: "docker" "inspect" "7ba6ab42938d9125edbca75d6a99b17d281b320e68d279664435b9ddad94c18b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba6ab42938d9125edbca75d6a99b17d281b320e68d279664435b9ddad94c18b", kill_on_drop: false }` [INFO] [stdout] 7ba6ab42938d9125edbca75d6a99b17d281b320e68d279664435b9ddad94c18b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06435d784ecd720496cf35787c9d21feee469ffb8bf235580c6b8d0fc723a6dd [INFO] running `Command { std: "docker" "start" "-a" "06435d784ecd720496cf35787c9d21feee469ffb8bf235580c6b8d0fc723a6dd", kill_on_drop: false }` [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/parser/components.rs:408:16 [INFO] [stderr] | [INFO] [stderr] 408 | match head.as_str() { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: call with fully qualified syntax `as_str(...)` to keep using the current method [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 + #![feature(str_as_str)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | fn do_parse(input: &str) -> PResult> { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | fn do_parse(input: &str) -> PResult<'_, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/core.rs:39:63 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | | [INFO] [stderr] | | | | the same lifetime is hidden here [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 39 | pub fn lparen<'a>(lparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>, ())> { [INFO] [stderr] | +++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/core.rs:47:63 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span)> { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | | [INFO] [stderr] | | | | the same lifetime is hidden here [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 47 | pub fn rparen<'a>(rparen: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>)> { [INFO] [stderr] | +++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parser/core.rs:51:61 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<((), Span, ())> { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | | [INFO] [stderr] | | | | the same lifetime is hidden here [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 51 | pub fn delimiter<'a>(d: &'a str) -> impl FnMut(Span<'a>) -> PResult<'a, ((), Span<'a>, ())> { [INFO] [stderr] | +++ ++++ [INFO] [stderr] [INFO] [stderr] warning: `t4_idl_parser` (lib) generated 5 warnings (run `cargo fix --lib -p t4_idl_parser` to apply 4 suggestions) [INFO] [stderr] warning: `t4_idl_parser` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/t4_idl_parser-4abd4cbcf100c081) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test parser::core::tests::expr ... ok [INFO] [stdout] test parser::tests::parser_srv ... ok [INFO] [stdout] test parser::tests::parser ... ok [INFO] [stdout] test parser::tests::parse_sequence ... ok [INFO] [stdout] test parser::tests::parse_typedef ... ok [INFO] [stdout] test parser::core::tests::literal ... ok [INFO] [stdout] test parser::tests::comment ... ok [INFO] [stdout] test parser::tests::parser_complex ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests t4_idl_parser [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - character (line 7) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06435d784ecd720496cf35787c9d21feee469ffb8bf235580c6b8d0fc723a6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06435d784ecd720496cf35787c9d21feee469ffb8bf235580c6b8d0fc723a6dd", kill_on_drop: false }` [INFO] [stdout] 06435d784ecd720496cf35787c9d21feee469ffb8bf235580c6b8d0fc723a6dd