[INFO] fetching crate yarte_lexer 0.0.1... [INFO] checking yarte_lexer-0.0.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate yarte_lexer 0.0.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate yarte_lexer 0.0.1 [INFO] finished tweaking crates.io crate yarte_lexer 0.0.1 [INFO] tweaked toml for crates.io crate yarte_lexer 0.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yarte_lexer 0.0.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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 23 packages to latest compatible versions [INFO] [stderr] Adding annotate-snippets v0.9.2 (available: v0.11.5) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding ron v0.6.6 (available: v0.10.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yarte_lexer_gencode v0.0.1 [INFO] [stderr] Downloaded yansi-term v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65871f9668eff18982c6ca25ac82ab48d43cf38b50e9f7fdbe67ab832b7d1150 [INFO] running `Command { std: "docker" "start" "-a" "65871f9668eff18982c6ca25ac82ab48d43cf38b50e9f7fdbe67ab832b7d1150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65871f9668eff18982c6ca25ac82ab48d43cf38b50e9f7fdbe67ab832b7d1150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65871f9668eff18982c6ca25ac82ab48d43cf38b50e9f7fdbe67ab832b7d1150", kill_on_drop: false }` [INFO] [stdout] 65871f9668eff18982c6ca25ac82ab48d43cf38b50e9f7fdbe67ab832b7d1150 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b30126fe13e6305a070e3857019ced1c4bcdf8c778cc75ae20670cd3441c43c [INFO] running `Command { std: "docker" "start" "-a" "1b30126fe13e6305a070e3857019ced1c4bcdf8c778cc75ae20670cd3441c43c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking annotate-snippets v0.9.2 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling yarte_lexer_gencode v0.0.1 [INFO] [stderr] Checking ron v0.6.6 [INFO] [stderr] Checking yarte_lexer v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/strnom.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn new(rest: &str, off: u32) -> Cursor { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 21 | pub unsafe fn new(rest: &str, off: u32) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/strnom.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn _new(rest: &str, off: u32) -> Cursor { [INFO] [stdout] | ^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 26 | pub(crate) fn _new(rest: &str, off: u32) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/strnom.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe { &mut *(s as *const [Ascii] as *mut [u8] as *mut str) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/strnom.rs:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn take_while(i: Cursor, f: fn(u8) -> bool) -> Result<&str, E> { [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 538 | pub fn take_while(i: Cursor<'_>, f: fn(u8) -> bool) -> Result<'_, &str, E> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/strnom.rs:591:26 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn ws(i: Cursor) -> Result<&str, E> { [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 591 | pub fn ws(i: Cursor<'_>) -> Result<'_, &str, E> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/error.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | fn config(&self) -> &Config; [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [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 config(&self) -> &Config<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/error.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | fn config(&self) -> &Config { [INFO] [stdout] | ^^^^^ ------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [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] 161 | fn config(&self) -> &Config<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn eat<'a, K: Ki<'a>>(mut i: Cursor<'a>) -> PResult>, K::Error> { [INFO] [stdout] | ^^ ------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | fn eat<'a, K: Ki<'a>>(mut i: Cursor<'a>) -> PResult<'a, Vec>, K::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:225:44 [INFO] [stdout] | [INFO] [stdout] 225 | fn end_safe_after<'a, K: Ki<'a>>(i: Cursor<'a>) -> PResult<(Cursor, bool), K::Error> { [INFO] [stdout] | ^^ --------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 225 | fn end_safe_after<'a, K: Ki<'a>>(i: Cursor<'a>) -> PResult<'a, (Cursor<'a>, bool), K::Error> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:254:38 [INFO] [stdout] | [INFO] [stdout] 254 | fn end_safe<'a, K: Ki<'a>>(i: Cursor<'a>) -> PResult<(Cursor, bool), K::Error> { [INFO] [stdout] | ^^ --------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 254 | fn end_safe<'a, K: Ki<'a>>(i: Cursor<'a>) -> PResult<'a, (Cursor<'a>, bool), K::Error> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:283:34 [INFO] [stdout] | [INFO] [stdout] 283 | fn safe<'a, K: Ki<'a>>(i: Cursor<'a>) -> PResult, K::Error> { [INFO] [stdout] | ^^ ------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 283 | fn safe<'a, K: Ki<'a>>(i: Cursor<'a>) -> PResult<'a, Token<'a, K>, K::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:389:33 [INFO] [stdout] | [INFO] [stdout] 389 | fn end<'a, K: Ki<'a>>(i: Cursor<'a>, expr: bool) -> PResult, K::Error> { [INFO] [stdout] | ^^ ----------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 389 | fn end<'a, K: Ki<'a>>(i: Cursor<'a>, expr: bool) -> PResult<'a, Cursor<'a>, K::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/parse.rs:411:28 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn path(i: Cursor) -> PResult<&str, E> { [INFO] [stdout] | ^^^^^^ ---------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [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] 411 | pub fn path(i: Cursor<'_>) -> PResult<'_, &str, E> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yarte_lexer` (lib) due to 1 previous error; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1b30126fe13e6305a070e3857019ced1c4bcdf8c778cc75ae20670cd3441c43c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b30126fe13e6305a070e3857019ced1c4bcdf8c778cc75ae20670cd3441c43c", kill_on_drop: false }` [INFO] [stdout] 1b30126fe13e6305a070e3857019ced1c4bcdf8c778cc75ae20670cd3441c43c