[INFO] cloning repository https://github.com/wjlroe/bim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wjlroe/bim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlroe%2Fbim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlroe%2Fbim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0ca3941a97f7f247f64646d8ac5f1c72c953cdb [INFO] building wjlroe/bim against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlroe%2Fbim" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wjlroe/bim [INFO] finished tweaking git repo https://github.com/wjlroe/bim [INFO] tweaked toml for git repo https://github.com/wjlroe/bim written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wjlroe/bim on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wjlroe/bim already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winres v0.1.11 [INFO] [stderr] Downloaded glam v0.8.7 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded errno v0.2.7 [INFO] [stderr] Downloaded gfx_window_glutin v0.31.0 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded glutin v0.21.2 [INFO] [stderr] Downloaded png v0.14.1 [INFO] [stderr] Downloaded tiff v0.2.2 [INFO] [stderr] Downloaded image v0.21.3 [INFO] [stderr] Downloaded object v0.26.0 [INFO] [stderr] Downloaded flame v0.2.2 [INFO] [stderr] Downloaded gfx_glyph v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e88c1741b7753a3bdb3b0b5d91f194f943d8cd7d12b4bc5d291c324ed5cf17a [INFO] running `Command { std: "docker" "start" "-a" "4e88c1741b7753a3bdb3b0b5d91f194f943d8cd7d12b4bc5d291c324ed5cf17a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e88c1741b7753a3bdb3b0b5d91f194f943d8cd7d12b4bc5d291c324ed5cf17a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e88c1741b7753a3bdb3b0b5d91f194f943d8cd7d12b4bc5d291c324ed5cf17a", kill_on_drop: false }` [INFO] [stdout] 4e88c1741b7753a3bdb3b0b5d91f194f943d8cd7d12b4bc5d291c324ed5cf17a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d6a281ec671f82f851faf43b04d14a257ff783f64b2f1987da575a7d597f25e [INFO] running `Command { std: "docker" "start" "-a" "6d6a281ec671f82f851faf43b04d14a257ff783f64b2f1987da575a7d597f25e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bim v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling errno v0.2.7 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling gfx_glyph v0.16.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling flame v0.2.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling gfx_window_glutin v0.31.0 [INFO] [stdout] warning: field `num_lines` is never read [INFO] [stdout] --> src/status_line.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct StatusLine { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | pub filename: String, [INFO] [stdout] 4 | pub num_lines: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusLine` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn filematch(mut self, filematch: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn filematch(mut self, filematch: &'a str) -> Syntax<'_> { [INFO] [stdout] 49 + pub fn filematch(mut self, filematch: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:54:72 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 54 - pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 54 + pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:61:68 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 61 - pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 61 + pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:74:68 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 74 - pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 74 + pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:87:78 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 87 - pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'_> { [INFO] [stdout] 87 + pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:92:73 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 92 - pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] 92 + pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:97:71 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 97 - pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] 97 + pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "6d6a281ec671f82f851faf43b04d14a257ff783f64b2f1987da575a7d597f25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6a281ec671f82f851faf43b04d14a257ff783f64b2f1987da575a7d597f25e", kill_on_drop: false }` [INFO] [stdout] 6d6a281ec671f82f851faf43b04d14a257ff783f64b2f1987da575a7d597f25e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 088b912b3716e28c74c9e1b3a2932ddd7d1817a3c10a83535396586a3cfda148 [INFO] running `Command { std: "docker" "start" "-a" "088b912b3716e28c74c9e1b3a2932ddd7d1817a3c10a83535396586a3cfda148", kill_on_drop: false }` [INFO] [stderr] Compiling bim v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `num_lines` is never read [INFO] [stdout] --> src/status_line.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct StatusLine { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | pub filename: String, [INFO] [stdout] 4 | pub num_lines: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusLine` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn filematch(mut self, filematch: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn filematch(mut self, filematch: &'a str) -> Syntax<'_> { [INFO] [stdout] 49 + pub fn filematch(mut self, filematch: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:54:72 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 54 - pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 54 + pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:61:68 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 61 - pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 61 + pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:74:68 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 74 - pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 74 + pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:87:78 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 87 - pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'_> { [INFO] [stdout] 87 + pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:92:73 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 92 - pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] 92 + pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:97:71 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 97 - pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] 97 + pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_lines` is never read [INFO] [stdout] --> src/status_line.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct StatusLine { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | pub filename: String, [INFO] [stdout] 4 | pub num_lines: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusLine` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buffer.rs:401:32 [INFO] [stdout] | [INFO] [stdout] 401 | .map(|r| r.as_str().clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buffer.rs:419:32 [INFO] [stdout] | [INFO] [stdout] 419 | .map(|r| r.as_str().clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buffer.rs:432:38 [INFO] [stdout] | [INFO] [stdout] 432 | .map(|r| r.rendered_str().clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/buffer.rs:474:32 [INFO] [stdout] | [INFO] [stdout] 474 | .map(|r| r.as_str().clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn filematch(mut self, filematch: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn filematch(mut self, filematch: &'a str) -> Syntax<'_> { [INFO] [stdout] 49 + pub fn filematch(mut self, filematch: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:54:72 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 54 - pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 54 + pub fn filematches(mut self, filematches: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:61:68 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 61 - pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 61 + pub fn keywords1(mut self, keywords1: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:74:68 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the 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] 74 - pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'_> { [INFO] [stdout] 74 + pub fn keywords2(mut self, keywords2: &'a [&'a str]) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:87:78 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 87 - pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'_> { [INFO] [stdout] 87 + pub fn singleline_comment_start(mut self, singleline: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:92:73 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 92 - pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] 92 + pub fn multiline_comment_start(mut self, marker: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/syntax.rs:97:71 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [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] 97 - pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'_> { [INFO] [stdout] 97 + pub fn multiline_comment_end(mut self, marker: &'a str) -> Syntax<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.24s [INFO] running `Command { std: "docker" "inspect" "088b912b3716e28c74c9e1b3a2932ddd7d1817a3c10a83535396586a3cfda148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "088b912b3716e28c74c9e1b3a2932ddd7d1817a3c10a83535396586a3cfda148", kill_on_drop: false }` [INFO] [stdout] 088b912b3716e28c74c9e1b3a2932ddd7d1817a3c10a83535396586a3cfda148