[INFO] fetching crate yarte_lexer 0.0.1... [INFO] testing yarte_lexer-0.0.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate yarte_lexer 0.0.1 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yarte_lexer 0.0.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding annotate-snippets v0.9.2 (available: v0.12.4) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding ron v0.6.6 (available: v0.11.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4487a2e428d5b4c3d8adc251595d762f59d82b1ed25f4865609b99b802d78b7a [INFO] running `Command { std: "docker" "start" "-a" "4487a2e428d5b4c3d8adc251595d762f59d82b1ed25f4865609b99b802d78b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4487a2e428d5b4c3d8adc251595d762f59d82b1ed25f4865609b99b802d78b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4487a2e428d5b4c3d8adc251595d762f59d82b1ed25f4865609b99b802d78b7a", kill_on_drop: false }` [INFO] [stdout] 4487a2e428d5b4c3d8adc251595d762f59d82b1ed25f4865609b99b802d78b7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b68bd38f147b3b3c364a0d34c3ed1454c764ddcddb3211c57849b3cb53d3616e [INFO] running `Command { std: "docker" "start" "-a" "b68bd38f147b3b3c364a0d34c3ed1454c764ddcddb3211c57849b3cb53d3616e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling yansi-term v0.1.2 [INFO] [stderr] Compiling annotate-snippets v0.9.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling yarte_lexer_gencode v0.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling yarte_lexer v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 21 | pub unsafe fn new(rest: &str, off: u32) -> Cursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 591 | pub fn ws(i: Cursor<'_>) -> Result<'_, &str, E> { [INFO] [stdout] | ++++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | fn config(&self) -> &Config; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn config(&self) -> &Config<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | fn config(&self) -> &Config { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 161 | fn config(&self) -> &Config<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:62:45 [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 same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:225:52 [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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden 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] 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:254:46 [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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden 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] 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:283:42 [INFO] [stdout] | [INFO] [stdout] 283 | fn safe<'a, K: Ki<'a>>(i: Cursor<'a>) -> PResult, K::Error> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^--^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:389:53 [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 same lifetime is named here [INFO] [stdout] | | the same lifetime is hidden 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] 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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] running `Command { std: "docker" "inspect" "b68bd38f147b3b3c364a0d34c3ed1454c764ddcddb3211c57849b3cb53d3616e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68bd38f147b3b3c364a0d34c3ed1454c764ddcddb3211c57849b3cb53d3616e", kill_on_drop: false }` [INFO] [stdout] b68bd38f147b3b3c364a0d34c3ed1454c764ddcddb3211c57849b3cb53d3616e